From 1d42b74ebf776265c284c4421e5931f0c03a14f0 Mon Sep 17 00:00:00 2001 From: Jorge Cotillo Date: Fri, 11 Dec 2020 09:42:29 -0800 Subject: [PATCH] [Microsoft.Azure.Management.ResourceManager] [DeploymentScripts] New Api-version (#17170) * bump resources api version * added new models * updated recordings * Metadata file * Update AzSdk.RP.props Co-authored-by: Gokul Premraj --- .../resources_resource-manager.txt | 6 +- .../AzSdk.RP.props | 2 +- .../src/Generated/DeploymentScriptsClient.cs | 2 +- .../src/Generated/Models/AzureCliScript.cs | 33 +- .../Generated/Models/AzurePowerShellScript.cs | 33 +- .../Models/ContainerConfiguration.cs | 98 +++++ .../src/Generated/Models/DeploymentScript.cs | 26 +- .../Models/StorageAccountConfiguration.cs | 63 +++ .../Generated/Models/TemplateSpecArtifact.cs | 1 - .../SdkInfo_DeploymentScriptsClient.cs | 2 +- .../DeploymentScriptsTests.ScenarioTests.cs | 12 +- .../CanCrudSimpleDeploymentScript.json | 389 ++++++++++-------- .../CanGetDeploymentScriptExecutionLogs.json | 387 ++++++++++------- ...anReturnErrorOnScriptExecutionFailure.json | 344 +++++++++------- 14 files changed, 916 insertions(+), 482 deletions(-) create mode 100644 sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/ContainerConfiguration.cs create mode 100644 sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/StorageAccountConfiguration.cs diff --git a/eng/mgmt/mgmtmetadata/resources_resource-manager.txt b/eng/mgmt/mgmtmetadata/resources_resource-manager.txt index 89c326efca224..e51d3a3900964 100644 --- a/eng/mgmt/mgmtmetadata/resources_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/resources_resource-manager.txt @@ -3,12 +3,12 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/resources/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-resources-2020-10 --csharp.output-folder=C:\repos\azure-sdk-for-net\sdk\resources\Microsoft.Azure.Management.Resource\src\Generated\Resources -2020-12-02 00:45:36 UTC +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/resources/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-resources-2020-10 --csharp.output-folder=C:\azure-sdk-for-net\sdk\resources\Microsoft.Azure.Management.Resource\src\Generated\Resources +2020-12-09 21:02:18 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 4517a0151af2db9d65a2c3fed98a2ff036d92785 +Commit: 398e3bedc3802997271f6f000e677fde43117e46 AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/AzSdk.RP.props b/sdk/resources/Microsoft.Azure.Management.Resource/AzSdk.RP.props index 51dd9b3ae5615..ac626893b0a3f 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/AzSdk.RP.props +++ b/sdk/resources/Microsoft.Azure.Management.Resource/AzSdk.RP.props @@ -4,4 +4,4 @@ Resources_2019-10-01-preview;Features_2015-12-01;ManagementLinkClient_2016-09-01;Resources_2016-09-01;Authorization_2016-09-01;Authorization_2019-09-01;Management_2019-09-01;PolicyClient_2019-09-01;Management_2020-06-01;ResourceManagementClient_2020-06-01;Resources_2020-10-01;Resources_2020-06-01;Resources_2020-01-01;SubscriptionClient_2020-01-01;Resources_2019-06-01-preview; $(PackageTags);$(CommonTags);$(AzureApiTag); - \ No newline at end of file + diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentScriptsClient.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentScriptsClient.cs index 3e5c8cba8baa7..b1e7a13ec5211 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentScriptsClient.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentScriptsClient.cs @@ -323,7 +323,7 @@ private void Initialize() { DeploymentScripts = new DeploymentScriptsOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2019-10-01-preview"; + ApiVersion = "2020-10-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/AzureCliScript.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/AzureCliScript.cs index b409bb38184e5..6b0433ef44e7e 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/AzureCliScript.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/AzureCliScript.cs @@ -35,9 +35,6 @@ public AzureCliScript() /// /// Initializes a new instance of the AzureCliScript class. /// - /// Managed identity to be used for this - /// deployment script. Currently, only user-assigned MSI is - /// supported. /// The location of the ACI and the storage /// account for the deployment script. /// Interval for which the service @@ -50,7 +47,15 @@ public AzureCliScript() /// Azure. /// Name of this resource. /// Type of this resource. + /// Optional property. Managed identity to be + /// used for this deployment script. Currently, only user-assigned MSI + /// is supported. /// Resource tags. + /// The system metadata related to this + /// resource. + /// Container settings. + /// Storage Account + /// settings. /// The clean up preference when the /// script execution gets in a terminal state. Default setting is /// 'Always'. Possible values include: 'Always', 'OnSuccess', @@ -77,9 +82,11 @@ public AzureCliScript() /// changed. Can be current time stamp or a GUID. /// Maximum allowed script execution time /// specified in ISO 8601 format. Default value is PT1H - public AzureCliScript(ManagedServiceIdentity identity, string location, System.TimeSpan retentionInterval, string azCliVersion, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string cleanupPreference = default(string), string provisioningState = default(string), ScriptStatus status = default(ScriptStatus), IDictionary outputs = default(IDictionary), string primaryScriptUri = default(string), IList supportingScriptUris = default(IList), string scriptContent = default(string), string arguments = default(string), IList environmentVariables = default(IList), string forceUpdateTag = default(string), System.TimeSpan? timeout = default(System.TimeSpan?)) - : base(identity, location, id, name, type, tags) + public AzureCliScript(string location, System.TimeSpan retentionInterval, string azCliVersion, string id = default(string), string name = default(string), string type = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), ContainerConfiguration containerSettings = default(ContainerConfiguration), StorageAccountConfiguration storageAccountSettings = default(StorageAccountConfiguration), string cleanupPreference = default(string), string provisioningState = default(string), ScriptStatus status = default(ScriptStatus), IDictionary outputs = default(IDictionary), string primaryScriptUri = default(string), IList supportingScriptUris = default(IList), string scriptContent = default(string), string arguments = default(string), IList environmentVariables = default(IList), string forceUpdateTag = default(string), System.TimeSpan? timeout = default(System.TimeSpan?)) + : base(location, id, name, type, identity, tags, systemData) { + ContainerSettings = containerSettings; + StorageAccountSettings = storageAccountSettings; CleanupPreference = cleanupPreference; ProvisioningState = provisioningState; Status = status; @@ -101,6 +108,18 @@ public AzureCliScript() /// partial void CustomInit(); + /// + /// Gets or sets container settings. + /// + [JsonProperty(PropertyName = "properties.containerSettings")] + public ContainerConfiguration ContainerSettings { get; set; } + + /// + /// Gets or sets storage Account settings. + /// + [JsonProperty(PropertyName = "properties.storageAccountSettings")] + public StorageAccountConfiguration StorageAccountSettings { get; set; } + /// /// Gets or sets the clean up preference when the script execution gets /// in a terminal state. Default setting is 'Always'. Possible values @@ -206,6 +225,10 @@ public override void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "AzCliVersion"); } + if (ContainerSettings != null) + { + ContainerSettings.Validate(); + } if (ScriptContent != null) { if (ScriptContent.Length > 32000) diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/AzurePowerShellScript.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/AzurePowerShellScript.cs index dced2c24fc5f2..42359ceed09bd 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/AzurePowerShellScript.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/AzurePowerShellScript.cs @@ -35,9 +35,6 @@ public AzurePowerShellScript() /// /// Initializes a new instance of the AzurePowerShellScript class. /// - /// Managed identity to be used for this - /// deployment script. Currently, only user-assigned MSI is - /// supported. /// The location of the ACI and the storage /// account for the deployment script. /// Interval for which the service @@ -50,7 +47,15 @@ public AzurePowerShellScript() /// Azure. /// Name of this resource. /// Type of this resource. + /// Optional property. Managed identity to be + /// used for this deployment script. Currently, only user-assigned MSI + /// is supported. /// Resource tags. + /// The system metadata related to this + /// resource. + /// Container settings. + /// Storage Account + /// settings. /// The clean up preference when the /// script execution gets in a terminal state. Default setting is /// 'Always'. Possible values include: 'Always', 'OnSuccess', @@ -77,9 +82,11 @@ public AzurePowerShellScript() /// changed. Can be current time stamp or a GUID. /// Maximum allowed script execution time /// specified in ISO 8601 format. Default value is PT1H - public AzurePowerShellScript(ManagedServiceIdentity identity, string location, System.TimeSpan retentionInterval, string azPowerShellVersion, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string cleanupPreference = default(string), string provisioningState = default(string), ScriptStatus status = default(ScriptStatus), IDictionary outputs = default(IDictionary), string primaryScriptUri = default(string), IList supportingScriptUris = default(IList), string scriptContent = default(string), string arguments = default(string), IList environmentVariables = default(IList), string forceUpdateTag = default(string), System.TimeSpan? timeout = default(System.TimeSpan?)) - : base(identity, location, id, name, type, tags) + public AzurePowerShellScript(string location, System.TimeSpan retentionInterval, string azPowerShellVersion, string id = default(string), string name = default(string), string type = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), ContainerConfiguration containerSettings = default(ContainerConfiguration), StorageAccountConfiguration storageAccountSettings = default(StorageAccountConfiguration), string cleanupPreference = default(string), string provisioningState = default(string), ScriptStatus status = default(ScriptStatus), IDictionary outputs = default(IDictionary), string primaryScriptUri = default(string), IList supportingScriptUris = default(IList), string scriptContent = default(string), string arguments = default(string), IList environmentVariables = default(IList), string forceUpdateTag = default(string), System.TimeSpan? timeout = default(System.TimeSpan?)) + : base(location, id, name, type, identity, tags, systemData) { + ContainerSettings = containerSettings; + StorageAccountSettings = storageAccountSettings; CleanupPreference = cleanupPreference; ProvisioningState = provisioningState; Status = status; @@ -101,6 +108,18 @@ public AzurePowerShellScript() /// partial void CustomInit(); + /// + /// Gets or sets container settings. + /// + [JsonProperty(PropertyName = "properties.containerSettings")] + public ContainerConfiguration ContainerSettings { get; set; } + + /// + /// Gets or sets storage Account settings. + /// + [JsonProperty(PropertyName = "properties.storageAccountSettings")] + public StorageAccountConfiguration StorageAccountSettings { get; set; } + /// /// Gets or sets the clean up preference when the script execution gets /// in a terminal state. Default setting is 'Always'. Possible values @@ -206,6 +225,10 @@ public override void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "AzPowerShellVersion"); } + if (ContainerSettings != null) + { + ContainerSettings.Validate(); + } if (ScriptContent != null) { if (ScriptContent.Length > 32000) diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/ContainerConfiguration.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/ContainerConfiguration.cs new file mode 100644 index 0000000000000..5237d57be407e --- /dev/null +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/ContainerConfiguration.cs @@ -0,0 +1,98 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.ResourceManager.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Settings to customize ACI container instance. + /// + public partial class ContainerConfiguration + { + /// + /// Initializes a new instance of the ContainerConfiguration class. + /// + public ContainerConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ContainerConfiguration class. + /// + /// Container group name, if not + /// specified then the name will get auto-generated. Not specifying a + /// 'containerGroupName' indicates the system to generate a unique name + /// which might end up flagging an Azure Policy as non-compliant. Use + /// 'containerGroupName' when you have an Azure Policy that expects a + /// specific naming convention or when you want to fully control the + /// name. 'containerGroupName' property must be between 1 and 63 + /// characters long, must contain only lowercase letters, numbers, and + /// dashes and it cannot start or end with a dash and consecutive + /// dashes are not allowed. To specify a 'containerGroupName', add the + /// following object to properties: { "containerSettings": { + /// "containerGroupName": "contoso-container" } }. If you do not want + /// to specify a 'containerGroupName' then do not add + /// 'containerSettings' property. + public ContainerConfiguration(string containerGroupName = default(string)) + { + ContainerGroupName = containerGroupName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets container group name, if not specified then the name + /// will get auto-generated. Not specifying a 'containerGroupName' + /// indicates the system to generate a unique name which might end up + /// flagging an Azure Policy as non-compliant. Use 'containerGroupName' + /// when you have an Azure Policy that expects a specific naming + /// convention or when you want to fully control the name. + /// 'containerGroupName' property must be between 1 and 63 characters + /// long, must contain only lowercase letters, numbers, and dashes and + /// it cannot start or end with a dash and consecutive dashes are not + /// allowed. To specify a 'containerGroupName', add the following + /// object to properties: { "containerSettings": { + /// "containerGroupName": "contoso-container" } }. If you do not want + /// to specify a 'containerGroupName' then do not add + /// 'containerSettings' property. + /// + [JsonProperty(PropertyName = "containerGroupName")] + public string ContainerGroupName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ContainerGroupName != null) + { + if (ContainerGroupName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "ContainerGroupName", 63); + } + if (ContainerGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "ContainerGroupName", 1); + } + } + } + } +} diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/DeploymentScript.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/DeploymentScript.cs index 823db062f3e69..43a83c843d969 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/DeploymentScript.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/DeploymentScript.cs @@ -32,22 +32,25 @@ public DeploymentScript() /// /// Initializes a new instance of the DeploymentScript class. /// - /// Managed identity to be used for this - /// deployment script. Currently, only user-assigned MSI is - /// supported. /// The location of the ACI and the storage /// account for the deployment script. /// String Id used to locate any resource on /// Azure. /// Name of this resource. /// Type of this resource. + /// Optional property. Managed identity to be + /// used for this deployment script. Currently, only user-assigned MSI + /// is supported. /// Resource tags. - public DeploymentScript(ManagedServiceIdentity identity, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary)) + /// The system metadata related to this + /// resource. + public DeploymentScript(string location, string id = default(string), string name = default(string), string type = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData)) : base(id, name, type) { Identity = identity; Location = location; Tags = tags; + SystemData = systemData; CustomInit(); } @@ -57,8 +60,9 @@ public DeploymentScript() partial void CustomInit(); /// - /// Gets or sets managed identity to be used for this deployment - /// script. Currently, only user-assigned MSI is supported. + /// Gets or sets optional property. Managed identity to be used for + /// this deployment script. Currently, only user-assigned MSI is + /// supported. /// [JsonProperty(PropertyName = "identity")] public ManagedServiceIdentity Identity { get; set; } @@ -76,6 +80,12 @@ public DeploymentScript() [JsonProperty(PropertyName = "tags")] public IDictionary Tags { get; set; } + /// + /// Gets the system metadata related to this resource. + /// + [JsonProperty(PropertyName = "systemData")] + public SystemData SystemData { get; private set; } + /// /// Validate the object. /// @@ -84,10 +94,6 @@ public DeploymentScript() /// public virtual void Validate() { - if (Identity == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Identity"); - } if (Location == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Location"); diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/StorageAccountConfiguration.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/StorageAccountConfiguration.cs new file mode 100644 index 0000000000000..dbe18c41803c3 --- /dev/null +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/StorageAccountConfiguration.cs @@ -0,0 +1,63 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.ResourceManager.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Settings to use an existing storage account. Valid storage account + /// kinds are: Storage, StorageV2 and FileStorage + /// + public partial class StorageAccountConfiguration + { + /// + /// Initializes a new instance of the StorageAccountConfiguration + /// class. + /// + public StorageAccountConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageAccountConfiguration + /// class. + /// + /// The storage account name. + /// The storage account access + /// key. + public StorageAccountConfiguration(string storageAccountName = default(string), string storageAccountKey = default(string)) + { + StorageAccountName = storageAccountName; + StorageAccountKey = storageAccountKey; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the storage account name. + /// + [JsonProperty(PropertyName = "storageAccountName")] + public string StorageAccountName { get; set; } + + /// + /// Gets or sets the storage account access key. + /// + [JsonProperty(PropertyName = "storageAccountKey")] + public string StorageAccountKey { get; set; } + + } +} diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/TemplateSpecArtifact.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/TemplateSpecArtifact.cs index d63b8d941d734..aa566e8c9f7b5 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/TemplateSpecArtifact.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/Models/TemplateSpecArtifact.cs @@ -17,7 +17,6 @@ namespace Microsoft.Azure.Management.ResourceManager.Models /// /// Represents a Template Spec artifact. /// - [Newtonsoft.Json.JsonObject("TemplateSpecArtifact")] public partial class TemplateSpecArtifact { /// diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_DeploymentScriptsClient.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_DeploymentScriptsClient.cs index 5b3ce0d65e019..f30f968a6e28e 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_DeploymentScriptsClient.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SdkInfo_DeploymentScriptsClient.cs @@ -19,7 +19,7 @@ public static IEnumerable> ApiInfo_DeploymentScrip { return new Tuple[] { - new Tuple("Resources", "DeploymentScripts", "2019-10-01-preview"), + new Tuple("Resources", "DeploymentScripts", "2020-10-01"), }.AsEnumerable(); } } diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/DeploymentScriptsTests.ScenarioTests.cs b/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/DeploymentScriptsTests.ScenarioTests.cs index 3ee37695f9bf3..c4b46a44a1db0 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/DeploymentScriptsTests.ScenarioTests.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/DeploymentScriptsTests.ScenarioTests.cs @@ -49,8 +49,8 @@ public void CanCrudSimpleDeploymentScript() // Create deployment script object with minimal properties var deploymentScriptName = TestUtilities.GetCurrentMethodName() + "--" + TestUtilities.GenerateName(); - var deploymentScript = new AzurePowerShellScript(managedIdentity, LocationWestUs, RetentionInterval, - AzurePowerShellVersion, scriptContent: ScriptContent, arguments: ScriptArguments); + var deploymentScript = new AzurePowerShellScript(LocationWestUs, RetentionInterval, + AzurePowerShellVersion, identity: managedIdentity, scriptContent: ScriptContent, arguments: ScriptArguments); var createDeploymentScriptResult = client.DeploymentScripts.Create(ResourceGroupName, deploymentScriptName, deploymentScript) as @@ -139,8 +139,8 @@ public void CanGetDeploymentScriptExecutionLogs() // Create deployment script object with minimal properties var deploymentScriptName = TestUtilities.GetCurrentMethodName() + "--" + TestUtilities.GenerateName(); - var deploymentScript = new AzurePowerShellScript(managedIdentity, LocationWestUs, RetentionInterval, - AzurePowerShellVersion, scriptContent: ScriptContent, arguments: ScriptArguments); + var deploymentScript = new AzurePowerShellScript(LocationWestUs, RetentionInterval, + AzurePowerShellVersion, identity: managedIdentity, scriptContent: ScriptContent, arguments: ScriptArguments); var createDeploymentScriptResult = client.DeploymentScripts.Create(ResourceGroupName, deploymentScriptName, deploymentScript) as @@ -184,8 +184,8 @@ public void CanReturnErrorOnScriptExecutionFailure() // Create deployment script object with minimal properties var deploymentScriptName = TestUtilities.GetCurrentMethodName() + "--" + TestUtilities.GenerateName(); - var deploymentScript = new AzurePowerShellScript(managedIdentity, LocationWestUs, RetentionInterval, - AzurePowerShellVersion, scriptContent: MalformedScriptContent); + var deploymentScript = new AzurePowerShellScript(LocationWestUs, RetentionInterval, + AzurePowerShellVersion, identity: managedIdentity, scriptContent: MalformedScriptContent); var createDeploymentScriptResult = client.DeploymentScripts.BeginCreate(ResourceGroupName, deploymentScriptName, diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanCrudSimpleDeploymentScript.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanCrudSimpleDeploymentScript.json index 0eae849902cac..2d6d7ad51726e 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanCrudSimpleDeploymentScript.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanCrudSimpleDeploymentScript.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDk5P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"properties\": {\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"azPowerShellVersion\": \"2.7.0\"\r\n },\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {}\r\n }\r\n },\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "ad52820e-c497-48fb-8776-507d67b9d6d9" + "3680c97d-e660-4233-8a88-c87c8b030ac4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,10 +36,10 @@ "17" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/a3b9c49e-080b-43cc-a2f3-f49035823feb?api-version=2019-10-01-preview" + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace?api-version=2020-10-01" ], "x-ms-request-id": [ - "931901fd-06b0-46d5-b1b5-eb162a5a363b" + "7df55e0f-adf4-4090-9d1b-e3ff492b6fc7" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -48,10 +48,10 @@ "1199" ], "x-ms-correlation-request-id": [ - "16669ce6-7abd-4365-b446-04a96b178c96" + "15774819-7b27-4aaa-8e1f-24123b6edf8e" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003724Z:16669ce6-7abd-4365-b446-04a96b178c96" + "WESTCENTRALUS:20201123T193349Z:15774819-7b27-4aaa-8e1f-24123b6edf8e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -60,10 +60,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:24 GMT" + "Mon, 23 Nov 2020 19:33:49 GMT" ], "Content-Length": [ - "1246" + "1533" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,20 +72,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {},\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet5703\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:33:44.6605357Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:33:44.6605357Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {},\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet99\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/a3b9c49e-080b-43cc-a2f3-f49035823feb?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDMvb3BlcmF0aW9ucmVzdWx0cy9hM2I5YzQ5ZS0wODBiLTQzY2MtYTJmMy1mNDkwMzU4MjNmZWI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvYjJjMmE4ZTEtMGU4NS00NzZiLTg2MjgtYzhkMzJlZGM1YWNlP2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -96,7 +96,7 @@ "no-cache" ], "x-ms-request-id": [ - "8660353e-b1d3-48df-8121-7d6129b21462" + "5fd26290-edbe-42f1-864e-8080a4eb0fd2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -105,10 +105,10 @@ "11999" ], "x-ms-correlation-request-id": [ - "e4b78fc0-1fa7-4300-9499-7e54e3f25daf" + "6fc5fb23-8562-4747-a27a-227688ea292d" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003741Z:e4b78fc0-1fa7-4300-9499-7e54e3f25daf" + "WESTCENTRALUS:20201123T193406Z:6fc5fb23-8562-4747-a27a-227688ea292d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,10 +117,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:41 GMT" + "Mon, 23 Nov 2020 19:34:06 GMT" ], "Content-Length": [ - "256" + "273" ], "Content-Type": [ "application/json; charset=utf-8" @@ -129,20 +129,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"provisioningResources\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"name\": \"b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"status\": \"provisioningResources\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/a3b9c49e-080b-43cc-a2f3-f49035823feb?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDMvb3BlcmF0aW9ucmVzdWx0cy9hM2I5YzQ5ZS0wODBiLTQzY2MtYTJmMy1mNDkwMzU4MjNmZWI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvYjJjMmE4ZTEtMGU4NS00NzZiLTg2MjgtYzhkMzJlZGM1YWNlP2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -153,7 +153,7 @@ "no-cache" ], "x-ms-request-id": [ - "46c72353-a260-433d-afb7-84804b41823c" + "d3344be4-381a-429a-823d-6c26f0b6f09f" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -162,10 +162,10 @@ "11998" ], "x-ms-correlation-request-id": [ - "dcc4a48e-0132-45f6-8fd9-70144ebec934" + "f9582050-e73e-4592-b0b3-77ce8161a8b9" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003758Z:dcc4a48e-0132-45f6-8fd9-70144ebec934" + "WESTCENTRALUS:20201123T193423Z:f9582050-e73e-4592-b0b3-77ce8161a8b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -174,10 +174,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:57 GMT" + "Mon, 23 Nov 2020 19:34:23 GMT" ], "Content-Length": [ - "256" + "273" ], "Content-Type": [ "application/json; charset=utf-8" @@ -186,20 +186,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"provisioningResources\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"name\": \"b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"status\": \"provisioningResources\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/a3b9c49e-080b-43cc-a2f3-f49035823feb?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDMvb3BlcmF0aW9ucmVzdWx0cy9hM2I5YzQ5ZS0wODBiLTQzY2MtYTJmMy1mNDkwMzU4MjNmZWI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvYjJjMmE4ZTEtMGU4NS00NzZiLTg2MjgtYzhkMzJlZGM1YWNlP2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -210,19 +210,19 @@ "no-cache" ], "x-ms-request-id": [ - "2ecee1c8-ae35-4f62-8a41-9066133fa0f0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "6161e287-9e29-436e-8be1-b951bb61f6fe" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], "x-ms-correlation-request-id": [ - "fadc1756-979d-4864-a6b6-43a13ab9aa8a" + "0f5e254a-078d-4521-95fa-2a7e1446faaa" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003815Z:fadc1756-979d-4864-a6b6-43a13ab9aa8a" + "WESTCENTRALUS:20201123T193440Z:0f5e254a-078d-4521-95fa-2a7e1446faaa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -231,10 +231,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:15 GMT" + "Mon, 23 Nov 2020 19:34:40 GMT" ], "Content-Length": [ - "256" + "273" ], "Content-Type": [ "application/json; charset=utf-8" @@ -243,20 +243,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"provisioningResources\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"name\": \"b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"status\": \"provisioningResources\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/a3b9c49e-080b-43cc-a2f3-f49035823feb?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDMvb3BlcmF0aW9ucmVzdWx0cy9hM2I5YzQ5ZS0wODBiLTQzY2MtYTJmMy1mNDkwMzU4MjNmZWI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvYjJjMmE4ZTEtMGU4NS00NzZiLTg2MjgtYzhkMzJlZGM1YWNlP2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -267,7 +267,7 @@ "no-cache" ], "x-ms-request-id": [ - "660bbd89-a541-4144-8796-e1d58b2471a6" + "06e9b2ae-ea9f-45ca-8747-79c568edca20" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -276,10 +276,10 @@ "11996" ], "x-ms-correlation-request-id": [ - "80ed7f76-38ce-4650-96cb-a0fc13c26caf" + "09e06997-6a89-4b9b-a81b-75fda1bc1f9a" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003833Z:80ed7f76-38ce-4650-96cb-a0fc13c26caf" + "WESTCENTRALUS:20201123T193457Z:09e06997-6a89-4b9b-a81b-75fda1bc1f9a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -288,10 +288,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:33 GMT" + "Mon, 23 Nov 2020 19:34:57 GMT" ], "Content-Length": [ - "256" + "273" ], "Content-Type": [ "application/json; charset=utf-8" @@ -300,20 +300,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"provisioningResources\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"name\": \"b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"status\": \"provisioningResources\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/a3b9c49e-080b-43cc-a2f3-f49035823feb?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDMvb3BlcmF0aW9ucmVzdWx0cy9hM2I5YzQ5ZS0wODBiLTQzY2MtYTJmMy1mNDkwMzU4MjNmZWI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvYjJjMmE4ZTEtMGU4NS00NzZiLTg2MjgtYzhkMzJlZGM1YWNlP2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -324,7 +324,7 @@ "no-cache" ], "x-ms-request-id": [ - "39cf59cd-0eff-45fd-9fff-88ac6ca21334" + "c01c8cca-0342-4ee7-9c85-aefea11a00e8" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -333,10 +333,10 @@ "11995" ], "x-ms-correlation-request-id": [ - "52fd9349-9d96-4751-b9a3-36e339922f02" + "fe22b1ad-6dcb-4466-a1fc-342e239d0732" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003850Z:52fd9349-9d96-4751-b9a3-36e339922f02" + "WESTCENTRALUS:20201123T193514Z:fe22b1ad-6dcb-4466-a1fc-342e239d0732" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -345,10 +345,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:50 GMT" + "Mon, 23 Nov 2020 19:35:14 GMT" ], "Content-Length": [ - "244" + "259" ], "Content-Type": [ "application/json; charset=utf-8" @@ -357,20 +357,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"succeeded\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"name\": \"b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"status\": \"running\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvYjJjMmE4ZTEtMGU4NS00NzZiLTg2MjgtYzhkMzJlZGM1YWNlP2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -381,7 +381,7 @@ "no-cache" ], "x-ms-request-id": [ - "ddad6f9a-79c8-48d3-aacd-3ac9f44ead07" + "c72c7b94-6f95-4e00-a414-d116e866b14b" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -390,10 +390,10 @@ "11994" ], "x-ms-correlation-request-id": [ - "3c5463d2-713e-4e5f-88e9-c20912b7f75e" + "e12a3888-1559-4501-958c-088d2a4283b7" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003850Z:3c5463d2-713e-4e5f-88e9-c20912b7f75e" + "WESTCENTRALUS:20201123T193531Z:e12a3888-1559-4501-958c-088d2a4283b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -402,10 +402,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:50 GMT" + "Mon, 23 Nov 2020 19:35:31 GMT" ], "Content-Length": [ - "1829" + "261" ], "Content-Type": [ "application/json; charset=utf-8" @@ -414,26 +414,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/7iowv2wggo5diazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/7iowv2wggo5diazscripts\",\r\n \"startTime\": \"2020-01-30T00:37:25.6376398Z\",\r\n \"endTime\": \"2020-01-30T00:38:45.8572836Z\",\r\n \"expirationTime\": \"2020-01-31T02:38:45.8572836Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet5703\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"name\": \"b2c2a8e1-0e85-476b-8628-c8d32edc5ace\",\r\n \"status\": \"succeeded\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDk5P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "8570f396-0c66-413d-ae0e-b36741d73177" - ], - "Accept-Language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -444,7 +438,7 @@ "no-cache" ], "x-ms-request-id": [ - "0cc41aef-b12c-42f7-85e0-a306cfd90560" + "99015f05-1a5a-4a87-bab0-a6192a97f912" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -453,10 +447,10 @@ "11993" ], "x-ms-correlation-request-id": [ - "533c5a72-c6b1-4077-b5d2-8bb3d0a955f3" + "59a6231d-28be-42e7-a952-cdadab07efd2" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003850Z:533c5a72-c6b1-4077-b5d2-8bb3d0a955f3" + "WESTCENTRALUS:20201123T193532Z:59a6231d-28be-42e7-a952-cdadab07efd2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -465,10 +459,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:50 GMT" + "Mon, 23 Nov 2020 19:35:31 GMT" ], "Content-Length": [ - "1829" + "2116" ], "Content-Type": [ "application/json; charset=utf-8" @@ -477,26 +471,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/7iowv2wggo5diazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/7iowv2wggo5diazscripts\",\r\n \"startTime\": \"2020-01-30T00:37:25.6376398Z\",\r\n \"endTime\": \"2020-01-30T00:38:45.8572836Z\",\r\n \"expirationTime\": \"2020-01-31T02:38:45.8572836Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet5703\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:33:44.6605357Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:33:44.6605357Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/khc3b6hxb6z6yazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/khc3b6hxb6z6yazscripts\",\r\n \"startTime\": \"2020-11-23T19:33:50.4731536Z\",\r\n \"endTime\": \"2020-11-23T19:35:21.4189342Z\",\r\n \"expirationTime\": \"2020-11-24T21:35:21.4189342Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet99\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cz9hcGktdmVyc2lvbj0yMDE5LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDk5P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ca80e5b4-e330-4062-ad90-e0011155b3f0" + "4820aa46-0221-4ac9-8f2b-c16f970954b1" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -507,7 +501,7 @@ "no-cache" ], "x-ms-request-id": [ - "9e405f30-60c1-418b-9d44-2293b35393d1" + "802c16b8-422e-40d8-8d7d-291228d1a6a6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -516,10 +510,10 @@ "11992" ], "x-ms-correlation-request-id": [ - "f9aedb07-8ec8-4ae1-ae93-a4e8064d1ba2" + "96a2340d-b5a1-4bb8-8618-c5e46b3092fa" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003850Z:f9aedb07-8ec8-4ae1-ae93-a4e8064d1ba2" + "WESTCENTRALUS:20201123T193532Z:96a2340d-b5a1-4bb8-8618-c5e46b3092fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -528,10 +522,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:50 GMT" + "Mon, 23 Nov 2020 19:35:31 GMT" ], "Content-Length": [ - "17142" + "2116" ], "Content-Type": [ "application/json; charset=utf-8" @@ -540,26 +534,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"Param([string]$Location) $output = get-azresourcegroup -Location $Location ; $DeploymentScriptOutputs['scriptOutput'] = $output\",\r\n \"arguments\": \"-Location 'westus'\",\r\n \"retentionInterval\": \"P7D\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ngnd5lro6s4hwazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ngnd5lro6s4hwazscripts\",\r\n \"startTime\": \"2019-11-13T15:28:13.5131326Z\",\r\n \"endTime\": \"2019-11-13T15:29:09.0164096Z\"\r\n },\r\n \"outputs\": {\r\n \"scriptOutput\": \"[\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"Ds-TestRg\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": \\\"System.Collections.Hashtable\\\",\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"RG_test123\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/RG_test123\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"storageRG_Test\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/storageRG_Test\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"testresourcegroup_bp3\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/testresourcegroup_bp3\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n }\\r\\n]\"\r\n },\r\n \"cleanupPreference\": \"OnExpiration\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ds-testrg/providers/Microsoft.Resources/deploymentScripts/MyDeploymentScriptTest\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"MyDeploymentScriptTest\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/yuq6tppaexkgmazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/yuq6tppaexkgmazscripts\",\r\n \"startTime\": \"2020-01-30T00:04:34.29774Z\",\r\n \"endTime\": \"2020-01-30T00:07:58.7689571Z\",\r\n \"expirationTime\": \"2020-01-31T02:07:58.7689571Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/filiz-test\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"filiz-test\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/2aqxgyefa55rsazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/2aqxgyefa55rsazscripts\",\r\n \"startTime\": \"2020-01-29T23:58:27.8856701Z\",\r\n \"endTime\": \"2020-01-29T23:59:46.8846379Z\",\r\n \"expirationTime\": \"2020-01-31T01:59:46.8846379Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet6473\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet6473\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/bhq2ohzfsucfeazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/bhq2ohzfsucfeazscripts\",\r\n \"startTime\": \"2020-01-30T00:03:01.9341928Z\",\r\n \"endTime\": \"2020-01-30T00:04:24.3585082Z\",\r\n \"expirationTime\": \"2020-01-31T02:04:24.3585082Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet9936\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet9936\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qonod6qf7yf3eazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qonod6qf7yf3eazscripts\",\r\n \"startTime\": \"2020-01-30T00:07:48.9980456Z\",\r\n \"endTime\": \"2020-01-30T00:09:06.4728785Z\",\r\n \"expirationTime\": \"2020-01-31T02:09:06.4728785Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet952\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet952\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ygvcomoiaeqouazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ygvcomoiaeqouazscripts\",\r\n \"startTime\": \"2020-01-30T00:14:51.9081222Z\",\r\n \"endTime\": \"2020-01-30T00:16:11.4188365Z\",\r\n \"expirationTime\": \"2020-01-31T02:16:11.4188365Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet3908\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet3908\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qcbrkfccafhzqazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qcbrkfccafhzqazscripts\",\r\n \"startTime\": \"2020-01-30T00:30:26.510254Z\",\r\n \"endTime\": \"2020-01-30T00:31:36.3026095Z\",\r\n \"expirationTime\": \"2020-01-31T02:31:36.3026095Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet98\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet98\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/7iowv2wggo5diazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/7iowv2wggo5diazscripts\",\r\n \"startTime\": \"2020-01-30T00:37:25.6376398Z\",\r\n \"endTime\": \"2020-01-30T00:38:45.8572836Z\",\r\n \"expirationTime\": \"2020-01-31T02:38:45.8572836Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet5703\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:33:44.6605357Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:33:44.6605357Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/khc3b6hxb6z6yazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/khc3b6hxb6z6yazscripts\",\r\n \"startTime\": \"2020-11-23T19:33:50.4731536Z\",\r\n \"endTime\": \"2020-11-23T19:35:21.4189342Z\",\r\n \"expirationTime\": \"2020-11-24T21:35:21.4189342Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet99\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cz9hcGktdmVyc2lvbj0yMDE5LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cz9hcGktdmVyc2lvbj0yMDIwLTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2af1c22f-7114-4f46-9b25-8878b03922c6" + "28d44a1a-35fd-485f-b14c-6d05f00839b9" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -570,19 +564,19 @@ "no-cache" ], "x-ms-request-id": [ - "22635e2f-5496-43ac-bc44-1f6aef590c95" + "c83e41db-9d4e-4399-a11d-21ae2aa3506e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11991" ], "x-ms-correlation-request-id": [ - "27a0fba4-3a55-4d7d-b9be-50207e4ad548" + "f21073dc-3866-4fbb-898d-0f667838f024" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003851Z:27a0fba4-3a55-4d7d-b9be-50207e4ad548" + "WESTCENTRALUS:20201123T193532Z:f21073dc-3866-4fbb-898d-0f667838f024" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -591,10 +585,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:51 GMT" + "Mon, 23 Nov 2020 19:35:31 GMT" ], "Content-Length": [ - "15154" + "2321" ], "Content-Type": [ "application/json; charset=utf-8" @@ -603,26 +597,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"Param([string]$Location) $output = get-azresourcegroup -Location $Location ; $DeploymentScriptOutputs['scriptOutput'] = $output\",\r\n \"arguments\": \"-Location 'westus'\",\r\n \"retentionInterval\": \"P7D\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ngnd5lro6s4hwazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ngnd5lro6s4hwazscripts\",\r\n \"startTime\": \"2019-11-13T15:28:13.5131326Z\",\r\n \"endTime\": \"2019-11-13T15:29:09.0164096Z\"\r\n },\r\n \"outputs\": {\r\n \"scriptOutput\": \"[\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"Ds-TestRg\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": \\\"System.Collections.Hashtable\\\",\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"RG_test123\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/RG_test123\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"storageRG_Test\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/storageRG_Test\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"testresourcegroup_bp3\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/testresourcegroup_bp3\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n }\\r\\n]\"\r\n },\r\n \"cleanupPreference\": \"OnExpiration\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ds-testrg/providers/Microsoft.Resources/deploymentScripts/MyDeploymentScriptTest\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"MyDeploymentScriptTest\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/yuq6tppaexkgmazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/yuq6tppaexkgmazscripts\",\r\n \"startTime\": \"2020-01-30T00:04:34.29774Z\",\r\n \"endTime\": \"2020-01-30T00:07:58.7689571Z\",\r\n \"expirationTime\": \"2020-01-31T02:07:58.7689571Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/filiz-test\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"filiz-test\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/2aqxgyefa55rsazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/2aqxgyefa55rsazscripts\",\r\n \"startTime\": \"2020-01-29T23:58:27.8856701Z\",\r\n \"endTime\": \"2020-01-29T23:59:46.8846379Z\",\r\n \"expirationTime\": \"2020-01-31T01:59:46.8846379Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet6473\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet6473\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/bhq2ohzfsucfeazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/bhq2ohzfsucfeazscripts\",\r\n \"startTime\": \"2020-01-30T00:03:01.9341928Z\",\r\n \"endTime\": \"2020-01-30T00:04:24.3585082Z\",\r\n \"expirationTime\": \"2020-01-31T02:04:24.3585082Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet9936\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet9936\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qonod6qf7yf3eazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qonod6qf7yf3eazscripts\",\r\n \"startTime\": \"2020-01-30T00:07:48.9980456Z\",\r\n \"endTime\": \"2020-01-30T00:09:06.4728785Z\",\r\n \"expirationTime\": \"2020-01-31T02:09:06.4728785Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet952\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet952\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ygvcomoiaeqouazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ygvcomoiaeqouazscripts\",\r\n \"startTime\": \"2020-01-30T00:14:51.9081222Z\",\r\n \"endTime\": \"2020-01-30T00:16:11.4188365Z\",\r\n \"expirationTime\": \"2020-01-31T02:16:11.4188365Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet3908\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet3908\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qcbrkfccafhzqazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qcbrkfccafhzqazscripts\",\r\n \"startTime\": \"2020-01-30T00:30:26.510254Z\",\r\n \"endTime\": \"2020-01-30T00:31:36.3026095Z\",\r\n \"expirationTime\": \"2020-01-31T02:31:36.3026095Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet98\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet98\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:33:44.6605357Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:33:44.6605357Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/khc3b6hxb6z6yazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/khc3b6hxb6z6yazscripts\",\r\n \"startTime\": \"2020-11-23T19:33:50.4731536Z\",\r\n \"endTime\": \"2020-11-23T19:35:21.4189342Z\",\r\n \"expirationTime\": \"2020-11-24T21:35:21.4189342Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet99\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentScripts?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTY3JpcHRzP2FwaS12ZXJzaW9uPTIwMTktMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cz9hcGktdmVyc2lvbj0yMDIwLTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c66efa7a-2f8c-4623-85cb-bb96a37e84b1" + "4e5734ab-fca7-46f2-9208-20505e34c91d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -632,20 +626,17 @@ "Pragma": [ "no-cache" ], - "x-ms-request-id": [ - "4e4eb998-76bf-4f90-a310-2f8c9cf66a83" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11989" + ], + "x-ms-request-id": [ + "3da8d482-5776-4e13-b450-9084a37d82f9" ], "x-ms-correlation-request-id": [ - "2d5e7318-11d2-44ae-9e57-f0e28b9b9165" + "3da8d482-5776-4e13-b450-9084a37d82f9" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003850Z:2d5e7318-11d2-44ae-9e57-f0e28b9b9165" + "WESTCENTRALUS:20201123T193534Z:3da8d482-5776-4e13-b450-9084a37d82f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -654,38 +645,38 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:50 GMT" - ], - "Content-Length": [ - "17142" + "Mon, 23 Nov 2020 19:35:33 GMT" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ], + "Content-Length": [ + "12" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"Param([string]$Location) $output = get-azresourcegroup -Location $Location ; $DeploymentScriptOutputs['scriptOutput'] = $output\",\r\n \"arguments\": \"-Location 'westus'\",\r\n \"retentionInterval\": \"P7D\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ngnd5lro6s4hwazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ngnd5lro6s4hwazscripts\",\r\n \"startTime\": \"2019-11-13T15:28:13.5131326Z\",\r\n \"endTime\": \"2019-11-13T15:29:09.0164096Z\"\r\n },\r\n \"outputs\": {\r\n \"scriptOutput\": \"[\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"Ds-TestRg\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": \\\"System.Collections.Hashtable\\\",\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"RG_test123\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/RG_test123\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"storageRG_Test\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/storageRG_Test\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"testresourcegroup_bp3\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/testresourcegroup_bp3\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n }\\r\\n]\"\r\n },\r\n \"cleanupPreference\": \"OnExpiration\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ds-testrg/providers/Microsoft.Resources/deploymentScripts/MyDeploymentScriptTest\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"MyDeploymentScriptTest\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/yuq6tppaexkgmazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/yuq6tppaexkgmazscripts\",\r\n \"startTime\": \"2020-01-30T00:04:34.29774Z\",\r\n \"endTime\": \"2020-01-30T00:07:58.7689571Z\",\r\n \"expirationTime\": \"2020-01-31T02:07:58.7689571Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/filiz-test\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"filiz-test\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/2aqxgyefa55rsazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/2aqxgyefa55rsazscripts\",\r\n \"startTime\": \"2020-01-29T23:58:27.8856701Z\",\r\n \"endTime\": \"2020-01-29T23:59:46.8846379Z\",\r\n \"expirationTime\": \"2020-01-31T01:59:46.8846379Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet6473\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet6473\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/bhq2ohzfsucfeazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/bhq2ohzfsucfeazscripts\",\r\n \"startTime\": \"2020-01-30T00:03:01.9341928Z\",\r\n \"endTime\": \"2020-01-30T00:04:24.3585082Z\",\r\n \"expirationTime\": \"2020-01-31T02:04:24.3585082Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet9936\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet9936\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qonod6qf7yf3eazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qonod6qf7yf3eazscripts\",\r\n \"startTime\": \"2020-01-30T00:07:48.9980456Z\",\r\n \"endTime\": \"2020-01-30T00:09:06.4728785Z\",\r\n \"expirationTime\": \"2020-01-31T02:09:06.4728785Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet952\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet952\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ygvcomoiaeqouazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ygvcomoiaeqouazscripts\",\r\n \"startTime\": \"2020-01-30T00:14:51.9081222Z\",\r\n \"endTime\": \"2020-01-30T00:16:11.4188365Z\",\r\n \"expirationTime\": \"2020-01-31T02:16:11.4188365Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet3908\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet3908\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qcbrkfccafhzqazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qcbrkfccafhzqazscripts\",\r\n \"startTime\": \"2020-01-30T00:30:26.510254Z\",\r\n \"endTime\": \"2020-01-30T00:31:36.3026095Z\",\r\n \"expirationTime\": \"2020-01-31T02:31:36.3026095Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet98\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet98\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/7iowv2wggo5diazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/7iowv2wggo5diazscripts\",\r\n \"startTime\": \"2020-01-30T00:37:25.6376398Z\",\r\n \"endTime\": \"2020-01-30T00:38:45.8572836Z\",\r\n \"expirationTime\": \"2020-01-31T02:38:45.8572836Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet5703\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentScripts?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTY3JpcHRzP2FwaS12ZXJzaW9uPTIwMTktMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentScripts?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTY3JpcHRzP2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e01cf016-d522-430f-b062-6386991416d7" + "01fd5a08-caee-4999-81ee-f26b48f6b8b0" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -696,19 +687,19 @@ "no-cache" ], "x-ms-request-id": [ - "c13fbeb6-754c-4c0c-902c-dd6fd856644a" + "9e4af309-f6e8-4d97-92e1-808e52b0c86b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11990" ], "x-ms-correlation-request-id": [ - "27bd577d-b904-45db-9ce3-6faeddc21a69" + "12d08c14-2650-413d-aa11-799e7a8a8fe1" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003851Z:27bd577d-b904-45db-9ce3-6faeddc21a69" + "WESTCENTRALUS:20201123T193532Z:12d08c14-2650-413d-aa11-799e7a8a8fe1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -717,10 +708,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:51 GMT" + "Mon, 23 Nov 2020 19:35:31 GMT" ], "Content-Length": [ - "15154" + "2321" ], "Content-Type": [ "application/json; charset=utf-8" @@ -729,26 +720,86 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"Param([string]$Location) $output = get-azresourcegroup -Location $Location ; $DeploymentScriptOutputs['scriptOutput'] = $output\",\r\n \"arguments\": \"-Location 'westus'\",\r\n \"retentionInterval\": \"P7D\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ngnd5lro6s4hwazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ngnd5lro6s4hwazscripts\",\r\n \"startTime\": \"2019-11-13T15:28:13.5131326Z\",\r\n \"endTime\": \"2019-11-13T15:29:09.0164096Z\"\r\n },\r\n \"outputs\": {\r\n \"scriptOutput\": \"[\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"Ds-TestRg\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": \\\"System.Collections.Hashtable\\\",\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"RG_test123\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/RG_test123\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"storageRG_Test\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/storageRG_Test\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"testresourcegroup_bp3\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/testresourcegroup_bp3\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n }\\r\\n]\"\r\n },\r\n \"cleanupPreference\": \"OnExpiration\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ds-testrg/providers/Microsoft.Resources/deploymentScripts/MyDeploymentScriptTest\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"MyDeploymentScriptTest\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/yuq6tppaexkgmazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/yuq6tppaexkgmazscripts\",\r\n \"startTime\": \"2020-01-30T00:04:34.29774Z\",\r\n \"endTime\": \"2020-01-30T00:07:58.7689571Z\",\r\n \"expirationTime\": \"2020-01-31T02:07:58.7689571Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/filiz-test\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"filiz-test\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/2aqxgyefa55rsazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/2aqxgyefa55rsazscripts\",\r\n \"startTime\": \"2020-01-29T23:58:27.8856701Z\",\r\n \"endTime\": \"2020-01-29T23:59:46.8846379Z\",\r\n \"expirationTime\": \"2020-01-31T01:59:46.8846379Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet6473\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet6473\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/bhq2ohzfsucfeazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/bhq2ohzfsucfeazscripts\",\r\n \"startTime\": \"2020-01-30T00:03:01.9341928Z\",\r\n \"endTime\": \"2020-01-30T00:04:24.3585082Z\",\r\n \"expirationTime\": \"2020-01-31T02:04:24.3585082Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet9936\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet9936\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qonod6qf7yf3eazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qonod6qf7yf3eazscripts\",\r\n \"startTime\": \"2020-01-30T00:07:48.9980456Z\",\r\n \"endTime\": \"2020-01-30T00:09:06.4728785Z\",\r\n \"expirationTime\": \"2020-01-31T02:09:06.4728785Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet952\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet952\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ygvcomoiaeqouazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ygvcomoiaeqouazscripts\",\r\n \"startTime\": \"2020-01-30T00:14:51.9081222Z\",\r\n \"endTime\": \"2020-01-30T00:16:11.4188365Z\",\r\n \"expirationTime\": \"2020-01-31T02:16:11.4188365Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet3908\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet3908\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qcbrkfccafhzqazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qcbrkfccafhzqazscripts\",\r\n \"startTime\": \"2020-01-30T00:30:26.510254Z\",\r\n \"endTime\": \"2020-01-30T00:31:36.3026095Z\",\r\n \"expirationTime\": \"2020-01-31T02:31:36.3026095Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet98\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet98\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:33:44.6605357Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:33:44.6605357Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/khc3b6hxb6z6yazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/khc3b6hxb6z6yazscripts\",\r\n \"startTime\": \"2020-11-23T19:33:50.4731536Z\",\r\n \"endTime\": \"2020-11-23T19:35:21.4189342Z\",\r\n \"expirationTime\": \"2020-11-24T21:35:21.4189342Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet99\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentScripts?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTY3JpcHRzP2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "171746ec-937e-4e48-96b4-c24f90c10046" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "e6fb1d81-b1b5-4b13-b919-f2d65816e0f2" + ], + "x-ms-correlation-request-id": [ + "e6fb1d81-b1b5-4b13-b919-f2d65816e0f2" + ], + "x-ms-routing-request-id": [ + "WESTCENTRALUS:20201123T193534Z:e6fb1d81-b1b5-4b13-b919-f2d65816e0f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 23 Nov 2020 19:35:33 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "12" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet5703?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDU3MDM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet99?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5DcnVkU2ltcGxlRGVwbG95bWVudFNjcmlwdC0tYXpzbW5ldDk5P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "86362ef7-6ad2-44d7-85dd-413f1c495862" + "02f6f123-cdd2-404e-b6ab-7ba635e06873" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -759,19 +810,19 @@ "no-cache" ], "x-ms-request-id": [ - "ac138905-d17f-41ee-84c3-57e1a40d53c4" + "897e1a90-0f82-45e6-a3a6-b1c600df617e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ - "14998" + "14999" ], "x-ms-correlation-request-id": [ - "0cfc32da-949f-4c02-bbef-6231cc26c698" + "7d9454de-8082-4bae-b848-ec3fe0761191" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003851Z:0cfc32da-949f-4c02-bbef-6231cc26c698" + "WESTCENTRALUS:20201123T193534Z:7d9454de-8082-4bae-b848-ec3fe0761191" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -780,7 +831,7 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:38:51 GMT" + "Mon, 23 Nov 2020 19:35:33 GMT" ], "Expires": [ "-1" @@ -795,7 +846,7 @@ ], "Names": { "CanCrudSimpleDeploymentScript": [ - "azsmnet5703" + "azsmnet99" ] }, "Variables": { diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanGetDeploymentScriptExecutionLogs.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanGetDeploymentScriptExecutionLogs.json index 1fd77586f32d4..cbc1b9d2faeb3 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanGetDeploymentScriptExecutionLogs.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanGetDeploymentScriptExecutionLogs.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDg1MTY/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"properties\": {\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"azPowerShellVersion\": \"2.7.0\"\r\n },\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {}\r\n }\r\n },\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "42d99adc-7c1b-432a-942e-bdce812432e1" + "2266cc87-17b0-4f3a-ad11-e6e9358afc33" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,10 +36,10 @@ "17" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/5f6445d5-5c91-4def-83ce-35cb77b7a782?api-version=2019-10-01-preview" + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7?api-version=2020-10-01" ], "x-ms-request-id": [ - "3a9194ba-b056-4012-ba2e-65f17f264056" + "f4134a76-14dd-475c-bd62-a9b614ce75eb" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -48,10 +48,10 @@ "1199" ], "x-ms-correlation-request-id": [ - "02f13d82-21ac-4858-b6df-5c1dba1c1294" + "8e69d3cb-7531-4712-ab8f-97e14a405f2e" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003550Z:02f13d82-21ac-4858-b6df-5c1dba1c1294" + "WESTCENTRALUS:20201123T192951Z:8e69d3cb-7531-4712-ab8f-97e14a405f2e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -60,10 +60,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:35:50 GMT" + "Mon, 23 Nov 2020 19:29:50 GMT" ], "Content-Length": [ - "1258" + "1549" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,20 +72,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {},\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet7438\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:29:47.5685177Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:29:47.5685177Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {},\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet8516\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/5f6445d5-5c91-4def-83ce-35cb77b7a782?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzgvb3BlcmF0aW9ucmVzdWx0cy81ZjY0NDVkNS01YzkxLTRkZWYtODNjZS0zNWNiNzdiN2E3ODI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvZjE3YWZjMTQtNDA0NS00NWRiLTk2MjUtYTJjMzhlZmQxZWI3P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -96,7 +96,7 @@ "no-cache" ], "x-ms-request-id": [ - "43ac5851-af0d-4800-b381-e70e7e64e7a0" + "1863b908-66e3-471b-a224-0e510ef8fc22" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -105,10 +105,10 @@ "11999" ], "x-ms-correlation-request-id": [ - "6e7b026e-ba05-4609-ace9-5c66ef6f886d" + "76042186-a2c7-463c-950c-04fe16546884" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003608Z:6e7b026e-ba05-4609-ace9-5c66ef6f886d" + "WESTCENTRALUS:20201123T193009Z:76042186-a2c7-463c-950c-04fe16546884" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,10 +117,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:36:07 GMT" + "Mon, 23 Nov 2020 19:30:09 GMT" ], "Content-Length": [ - "262" + "273" ], "Content-Type": [ "application/json; charset=utf-8" @@ -129,20 +129,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"provisioningResources\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"name\": \"f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"status\": \"provisioningResources\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/5f6445d5-5c91-4def-83ce-35cb77b7a782?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzgvb3BlcmF0aW9ucmVzdWx0cy81ZjY0NDVkNS01YzkxLTRkZWYtODNjZS0zNWNiNzdiN2E3ODI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvZjE3YWZjMTQtNDA0NS00NWRiLTk2MjUtYTJjMzhlZmQxZWI3P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -153,7 +153,7 @@ "no-cache" ], "x-ms-request-id": [ - "fc472b35-1dde-44cb-9c74-64b2092a18b4" + "6dcac41d-dcd3-42e1-b32c-d0716e57ec7c" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -162,10 +162,10 @@ "11998" ], "x-ms-correlation-request-id": [ - "d3a39382-f998-49f6-8c09-579d5e54ac8e" + "427c8a9c-42b4-4c8a-98bd-807da4e41a53" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003625Z:d3a39382-f998-49f6-8c09-579d5e54ac8e" + "WESTCENTRALUS:20201123T193026Z:427c8a9c-42b4-4c8a-98bd-807da4e41a53" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -174,10 +174,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:36:24 GMT" + "Mon, 23 Nov 2020 19:30:25 GMT" ], "Content-Length": [ - "262" + "273" ], "Content-Type": [ "application/json; charset=utf-8" @@ -186,20 +186,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"provisioningResources\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"name\": \"f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"status\": \"provisioningResources\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/5f6445d5-5c91-4def-83ce-35cb77b7a782?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzgvb3BlcmF0aW9ucmVzdWx0cy81ZjY0NDVkNS01YzkxLTRkZWYtODNjZS0zNWNiNzdiN2E3ODI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvZjE3YWZjMTQtNDA0NS00NWRiLTk2MjUtYTJjMzhlZmQxZWI3P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -210,7 +210,7 @@ "no-cache" ], "x-ms-request-id": [ - "7362e984-1094-410b-ad18-f278492a089f" + "ad796aa7-3b3f-41c8-a654-21ea1963bdf6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -219,10 +219,10 @@ "11997" ], "x-ms-correlation-request-id": [ - "86557c8a-1166-4df7-bd40-f0002f801f02" + "fe0279b9-f048-4f08-9ef6-5dc427bc08cb" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003642Z:86557c8a-1166-4df7-bd40-f0002f801f02" + "WESTCENTRALUS:20201123T193043Z:fe0279b9-f048-4f08-9ef6-5dc427bc08cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -231,10 +231,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:36:42 GMT" + "Mon, 23 Nov 2020 19:30:42 GMT" ], "Content-Length": [ - "262" + "273" ], "Content-Type": [ "application/json; charset=utf-8" @@ -243,20 +243,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"provisioningResources\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"name\": \"f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"status\": \"provisioningResources\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/5f6445d5-5c91-4def-83ce-35cb77b7a782?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzgvb3BlcmF0aW9ucmVzdWx0cy81ZjY0NDVkNS01YzkxLTRkZWYtODNjZS0zNWNiNzdiN2E3ODI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvZjE3YWZjMTQtNDA0NS00NWRiLTk2MjUtYTJjMzhlZmQxZWI3P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -267,19 +267,76 @@ "no-cache" ], "x-ms-request-id": [ - "94702f89-51d4-4d7e-a57b-5d1b7e888f91" + "93013841-611d-4d51-bcab-56d0fea98707" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ + "767c166f-5978-42ca-be70-228ee53a90b5" + ], + "x-ms-routing-request-id": [ + "WESTCENTRALUS:20201123T193100Z:767c166f-5978-42ca-be70-228ee53a90b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 23 Nov 2020 19:30:59 GMT" + ], + "Content-Length": [ + "273" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"name\": \"f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"status\": \"provisioningResources\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvZjE3YWZjMTQtNDA0NS00NWRiLTk2MjUtYTJjMzhlZmQxZWI3P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dc93d243-e43c-489c-9840-d83337bdd23b" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], "x-ms-correlation-request-id": [ - "c6939bb3-bc00-4e5a-982d-1d4e59bb8673" + "52e40d06-ec38-4a8c-978a-368bdb732a47" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003659Z:c6939bb3-bc00-4e5a-982d-1d4e59bb8673" + "WESTCENTRALUS:20201123T193117Z:52e40d06-ec38-4a8c-978a-368bdb732a47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -288,10 +345,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:36:58 GMT" + "Mon, 23 Nov 2020 19:31:16 GMT" ], "Content-Length": [ - "262" + "273" ], "Content-Type": [ "application/json; charset=utf-8" @@ -300,20 +357,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"provisioningResources\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"name\": \"f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"status\": \"provisioningResources\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/5f6445d5-5c91-4def-83ce-35cb77b7a782?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzgvb3BlcmF0aW9ucmVzdWx0cy81ZjY0NDVkNS01YzkxLTRkZWYtODNjZS0zNWNiNzdiN2E3ODI/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvZjE3YWZjMTQtNDA0NS00NWRiLTk2MjUtYTJjMzhlZmQxZWI3P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -324,19 +381,19 @@ "no-cache" ], "x-ms-request-id": [ - "fa3dab85-a5eb-4f45-98b7-e4a0e1176060" + "2a78ec61-8050-4b52-8ea5-d0993e5a9c7a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11994" ], "x-ms-correlation-request-id": [ - "f0c7ce9d-df1f-47db-a08c-89ed9f82ccab" + "35acfa87-4268-4fe4-b5be-bb5ce53d25f3" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003716Z:f0c7ce9d-df1f-47db-a08c-89ed9f82ccab" + "WESTCENTRALUS:20201123T193134Z:35acfa87-4268-4fe4-b5be-bb5ce53d25f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -345,10 +402,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:15 GMT" + "Mon, 23 Nov 2020 19:31:33 GMT" ], "Content-Length": [ - "250" + "259" ], "Content-Type": [ "application/json; charset=utf-8" @@ -357,20 +414,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/operationresults/0\",\r\n \"name\": \"0\",\r\n \"status\": \"succeeded\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"name\": \"f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"status\": \"running\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2xvY2F0aW9ucy9XZXN0JTIwVVMvZGVwbG95bWVudFNjcmlwdE9wZXJhdGlvblJlc3VsdHMvZjE3YWZjMTQtNDA0NS00NWRiLTk2MjUtYTJjMzhlZmQxZWI3P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -381,19 +438,19 @@ "no-cache" ], "x-ms-request-id": [ - "1ccacadf-0b65-4a21-839c-389007e5db4c" + "f96e804b-a14f-42cb-82ae-f948affb2dba" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11993" ], "x-ms-correlation-request-id": [ - "205479de-3abd-43b8-b788-6a8985a012d1" + "4ce91a3e-6e18-45f6-adfa-62ef1b81e63a" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003716Z:205479de-3abd-43b8-b788-6a8985a012d1" + "WESTCENTRALUS:20201123T193151Z:4ce91a3e-6e18-45f6-adfa-62ef1b81e63a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -402,10 +459,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:15 GMT" + "Mon, 23 Nov 2020 19:31:51 GMT" ], "Content-Length": [ - "1838" + "261" ], "Content-Type": [ "application/json; charset=utf-8" @@ -414,26 +471,83 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/356dhc4u2zcewazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/356dhc4u2zcewazscripts\",\r\n \"startTime\": \"2020-01-30T00:35:51.289806Z\",\r\n \"endTime\": \"2020-01-30T00:37:13.044598Z\",\r\n \"expirationTime\": \"2020-01-31T02:37:13.044598Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet7438\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus/deploymentScriptOperationResults/f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"name\": \"f17afc14-4045-45db-9625-a2c38efd1eb7\",\r\n \"status\": \"succeeded\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDg1MTY/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "546120ef-504a-44d8-88e6-6a9dbca0b057" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "6e32d47f-ae93-4615-9870-3e0403531798" + ], + "x-ms-routing-request-id": [ + "WESTCENTRALUS:20201123T193151Z:6e32d47f-ae93-4615-9870-3e0403531798" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 23 Nov 2020 19:31:51 GMT" + ], + "Content-Length": [ + "2132" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:29:47.5685177Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:29:47.5685177Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/4xpznd6gvw7awazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/4xpznd6gvw7awazscripts\",\r\n \"startTime\": \"2020-11-23T19:29:53.9084026Z\",\r\n \"endTime\": \"2020-11-23T19:31:39.2461696Z\",\r\n \"expirationTime\": \"2020-11-24T21:31:39.2461696Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet8516\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDg1MTY/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "778b1664-5a9f-4c76-889b-b29655fb2984" + "080ad12f-e78e-4dff-ba8a-ce599bca60d3" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -444,19 +558,19 @@ "no-cache" ], "x-ms-request-id": [ - "eaa6528f-9dc9-44f2-a327-dfd12f09f509" + "aeb749f4-f6e1-48a5-9cfc-3f9230f053ce" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11991" ], "x-ms-correlation-request-id": [ - "29a47bea-afc1-4cc8-a178-7b42c2173fc7" + "9771175d-01e9-4cd1-aa1e-520c0115fe78" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003716Z:29a47bea-afc1-4cc8-a178-7b42c2173fc7" + "WESTCENTRALUS:20201123T193151Z:9771175d-01e9-4cd1-aa1e-520c0115fe78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -465,10 +579,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:15 GMT" + "Mon, 23 Nov 2020 19:31:51 GMT" ], "Content-Length": [ - "1838" + "2132" ], "Content-Type": [ "application/json; charset=utf-8" @@ -477,26 +591,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/356dhc4u2zcewazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/356dhc4u2zcewazscripts\",\r\n \"startTime\": \"2020-01-30T00:35:51.289806Z\",\r\n \"endTime\": \"2020-01-30T00:37:13.044598Z\",\r\n \"expirationTime\": \"2020-01-31T02:37:13.044598Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet7438\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:29:47.5685177Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:29:47.5685177Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/4xpznd6gvw7awazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/4xpznd6gvw7awazscripts\",\r\n \"startTime\": \"2020-11-23T19:29:53.9084026Z\",\r\n \"endTime\": \"2020-11-23T19:31:39.2461696Z\",\r\n \"expirationTime\": \"2020-11-24T21:31:39.2461696Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet8516\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/logs/default?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0MzgvbG9ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516/logs/default?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDg1MTYvbG9ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMjAtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "36fc3db9-5974-4186-b1c6-6b8f1f3ebc75" + "1c814cd0-b7c8-4782-b2b2-6248c11cfd02" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -507,19 +621,19 @@ "no-cache" ], "x-ms-request-id": [ - "6a5262c9-b3f6-4b01-82d2-6a6fbfeebe87" + "a4497c3d-5ae4-4553-911c-4f514e508ffa" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11990" ], "x-ms-correlation-request-id": [ - "41f0621e-2c64-491d-9a23-951665929a6c" + "1e021464-ea6a-4d86-a7fa-e193537fd66d" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003716Z:41f0621e-2c64-491d-9a23-951665929a6c" + "WESTCENTRALUS:20201123T193151Z:1e021464-ea6a-4d86-a7fa-e193537fd66d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -528,10 +642,10 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:16 GMT" + "Mon, 23 Nov 2020 19:31:51 GMT" ], "Content-Length": [ - "795" + "385" ], "Content-Type": [ "application/json; charset=utf-8" @@ -540,26 +654,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"log\": \"\\nAccount SubscriptionName TenantId Envi\\n ronm\\n ent\\n------- ---------------- -------- ----\\nMSI@50342 Blueprint Assignment Test 4 72f988bf-86f1-41af-91ab-2d7cd011db47 Azu…\\nExecuting script: .\\\\userscript.ps1 'Hello World'\\nHello World\\n\\n\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438/logs/default\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts/logs\",\r\n \"name\": \"default\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"log\": \"Executing script: .\\\\userscript.ps1 'Hello World'\\nHello World\\n\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516/logs/default\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts/logs\",\r\n \"name\": \"default\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet7438?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDc0Mzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet8516?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5HZXREZXBsb3ltZW50U2NyaXB0RXhlY3V0aW9uTG9ncy0tYXpzbW5ldDg1MTY/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f3b7cbf7-3ab8-4803-a468-cb1df3e07d3c" + "7954b4a5-2a3c-4ed6-bb5a-3b46cde3bbd7" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -570,7 +684,7 @@ "no-cache" ], "x-ms-request-id": [ - "5b040f46-8f30-434a-a779-f7cf696e4b9f" + "4915e6fa-cf8a-4ff4-8077-870025b0c9c9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -579,10 +693,10 @@ "14999" ], "x-ms-correlation-request-id": [ - "c79a14fa-7ec8-47ba-8531-3eb9b0d653f4" + "7920330f-2fa5-4992-8732-a793b606a380" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003718Z:c79a14fa-7ec8-47ba-8531-3eb9b0d653f4" + "WESTCENTRALUS:20201123T193153Z:7920330f-2fa5-4992-8732-a793b606a380" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -591,7 +705,7 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:17 GMT" + "Mon, 23 Nov 2020 19:31:53 GMT" ], "Expires": [ "-1" @@ -604,22 +718,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cz9hcGktdmVyc2lvbj0yMDE5LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cz9hcGktdmVyc2lvbj0yMDIwLTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5537a663-8890-4173-a784-4ec4081cb032" + "779d0699-5a22-444c-95e0-d6717b662c44" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28207.04", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.1.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -629,20 +743,17 @@ "Pragma": [ "no-cache" ], - "x-ms-request-id": [ - "a2f072b3-fa9d-4513-9f37-843c81be45e1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11989" + ], + "x-ms-request-id": [ + "a5185a05-c4d3-4e85-ab6f-e13a3741b01a" ], "x-ms-correlation-request-id": [ - "74b05c93-11a1-41b6-901c-1cf4eb2431e5" + "a5185a05-c4d3-4e85-ab6f-e13a3741b01a" ], "x-ms-routing-request-id": [ - "WESTUS:20200130T003718Z:74b05c93-11a1-41b6-901c-1cf4eb2431e5" + "WESTCENTRALUS:20201123T193153Z:a5185a05-c4d3-4e85-ab6f-e13a3741b01a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -651,25 +762,25 @@ "nosniff" ], "Date": [ - "Thu, 30 Jan 2020 00:37:17 GMT" - ], - "Content-Length": [ - "15154" + "Mon, 23 Nov 2020 19:31:53 GMT" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ], + "Content-Length": [ + "12" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"Param([string]$Location) $output = get-azresourcegroup -Location $Location ; $DeploymentScriptOutputs['scriptOutput'] = $output\",\r\n \"arguments\": \"-Location 'westus'\",\r\n \"retentionInterval\": \"P7D\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ngnd5lro6s4hwazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ngnd5lro6s4hwazscripts\",\r\n \"startTime\": \"2019-11-13T15:28:13.5131326Z\",\r\n \"endTime\": \"2019-11-13T15:29:09.0164096Z\"\r\n },\r\n \"outputs\": {\r\n \"scriptOutput\": \"[\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"Ds-TestRg\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": \\\"System.Collections.Hashtable\\\",\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"RG_test123\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/RG_test123\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"storageRG_Test\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/storageRG_Test\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n },\\r\\n {\\r\\n \\\"ResourceGroupName\\\": \\\"testresourcegroup_bp3\\\",\\r\\n \\\"Location\\\": \\\"westus\\\",\\r\\n \\\"ProvisioningState\\\": \\\"Succeeded\\\",\\r\\n \\\"Tags\\\": null,\\r\\n \\\"TagsTable\\\": null,\\r\\n \\\"ResourceId\\\": \\\"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/testresourcegroup_bp3\\\",\\r\\n \\\"ManagedBy\\\": null\\r\\n }\\r\\n]\"\r\n },\r\n \"cleanupPreference\": \"OnExpiration\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ds-testrg/providers/Microsoft.Resources/deploymentScripts/MyDeploymentScriptTest\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"MyDeploymentScriptTest\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/yuq6tppaexkgmazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/yuq6tppaexkgmazscripts\",\r\n \"startTime\": \"2020-01-30T00:04:34.29774Z\",\r\n \"endTime\": \"2020-01-30T00:07:58.7689571Z\",\r\n \"expirationTime\": \"2020-01-31T02:07:58.7689571Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/filiz-test\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"filiz-test\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/2aqxgyefa55rsazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/2aqxgyefa55rsazscripts\",\r\n \"startTime\": \"2020-01-29T23:58:27.8856701Z\",\r\n \"endTime\": \"2020-01-29T23:59:46.8846379Z\",\r\n \"expirationTime\": \"2020-01-31T01:59:46.8846379Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet6473\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet6473\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/bhq2ohzfsucfeazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/bhq2ohzfsucfeazscripts\",\r\n \"startTime\": \"2020-01-30T00:03:01.9341928Z\",\r\n \"endTime\": \"2020-01-30T00:04:24.3585082Z\",\r\n \"expirationTime\": \"2020-01-31T02:04:24.3585082Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet9936\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet9936\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qonod6qf7yf3eazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qonod6qf7yf3eazscripts\",\r\n \"startTime\": \"2020-01-30T00:07:48.9980456Z\",\r\n \"endTime\": \"2020-01-30T00:09:06.4728785Z\",\r\n \"expirationTime\": \"2020-01-31T02:09:06.4728785Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet952\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet952\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ygvcomoiaeqouazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ygvcomoiaeqouazscripts\",\r\n \"startTime\": \"2020-01-30T00:14:51.9081222Z\",\r\n \"endTime\": \"2020-01-30T00:16:11.4188365Z\",\r\n \"expirationTime\": \"2020-01-31T02:16:11.4188365Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanCrudSimpleDeploymentScript--azsmnet3908\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanCrudSimpleDeploymentScript--azsmnet3908\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"param([string] $helloWorld) Write-Output $helloWorld; $DeploymentScriptOutputs['output'] = $helloWorld\",\r\n \"arguments\": \"'Hello World'\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/qcbrkfccafhzqazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/qcbrkfccafhzqazscripts\",\r\n \"startTime\": \"2020-01-30T00:30:26.510254Z\",\r\n \"endTime\": \"2020-01-30T00:31:36.3026095Z\",\r\n \"expirationTime\": \"2020-01-31T02:31:36.3026095Z\"\r\n },\r\n \"outputs\": {\r\n \"output\": \"Hello World\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanGetDeploymentScriptExecutionLogs--azsmnet98\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanGetDeploymentScriptExecutionLogs--azsmnet98\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 } ], "Names": { "CanGetDeploymentScriptExecutionLogs": [ - "azsmnet7438" + "azsmnet8516" ] }, "Variables": { diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanReturnErrorOnScriptExecutionFailure.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanReturnErrorOnScriptExecutionFailure.json index 899ad20b24119..7ae886dd02306 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanReturnErrorOnScriptExecutionFailure.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentScriptsTests/CanReturnErrorOnScriptExecutionFailure.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"properties\": {\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"azPowerShellVersion\": \"2.7.0\"\r\n },\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {}\r\n }\r\n },\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "b77858cb-9506-45a8-9012-43841b3d8ebb" + "edcdd6df-922b-481a-9ca1-2e5267b3a0bb" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,10 +36,10 @@ "17" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/a020eb22-838f-40e6-955e-7abdb25d0a97?api-version=2019-10-01-preview" + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/West%20US/deploymentScriptOperationResults/ecdfd315-bcdc-45e7-88ed-cff1d453c506?api-version=2020-10-01" ], "x-ms-request-id": [ - "f962115b-db26-4e12-9b2e-02218e9f2d27" + "427318e0-5897-463b-a199-122d128abf7f" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -48,10 +48,10 @@ "1199" ], "x-ms-correlation-request-id": [ - "ab5cac13-6274-4140-8cfb-d5c9f8e88f5d" + "2687fa5a-56db-496d-aa40-6ba7af543514" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182400Z:ab5cac13-6274-4140-8cfb-d5c9f8e88f5d" + "WESTUS:20201123T193207Z:2687fa5a-56db-496d-aa40-6ba7af543514" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -60,10 +60,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:23:59 GMT" + "Mon, 23 Nov 2020 19:32:07 GMT" ], "Content-Length": [ - "1142" + "1433" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,26 +72,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {},\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {},\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ae1e6473-6b20-4af7-9cd9-99ba2b280932" + "ea25f2ab-80ae-4e60-b567-465dacfdba7c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -102,7 +102,7 @@ "no-cache" ], "x-ms-request-id": [ - "f7c37b8c-4118-47b5-b6b5-bc26906ddfe2" + "b43d7bc5-e34b-4fe9-932c-396abe103b72" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -111,10 +111,10 @@ "11999" ], "x-ms-correlation-request-id": [ - "034391e0-354f-416e-832e-fd3fb26ce3d8" + "148ff21e-f0cb-464c-ac85-59dff300c7dd" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182400Z:034391e0-354f-416e-832e-fd3fb26ce3d8" + "WESTUS:20201123T193207Z:148ff21e-f0cb-464c-ac85-59dff300c7dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -123,10 +123,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:23:59 GMT" + "Mon, 23 Nov 2020 19:32:07 GMT" ], "Content-Length": [ - "1142" + "1503" ], "Content-Type": [ "application/json; charset=utf-8" @@ -135,26 +135,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {},\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "08779678-8b5f-413e-ba20-c4e8d5d0c184" + "d60676aa-f821-4de8-8079-e51fdcf6cc48" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -165,7 +165,7 @@ "no-cache" ], "x-ms-request-id": [ - "1b649089-c1f0-4ee7-85cd-1f7f44c04a31" + "4ff37cd7-4b31-43c2-be18-e82cb6bfffea" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -174,10 +174,10 @@ "11998" ], "x-ms-correlation-request-id": [ - "9957f977-ac40-49dc-a13e-cf1297259a23" + "a80b67f3-bb2c-4507-80e8-2fc28ec6c17e" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182410Z:9957f977-ac40-49dc-a13e-cf1297259a23" + "WESTUS:20201123T193217Z:a80b67f3-bb2c-4507-80e8-2fc28ec6c17e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -186,10 +186,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:24:10 GMT" + "Mon, 23 Nov 2020 19:32:17 GMT" ], "Content-Length": [ - "1212" + "1503" ], "Content-Type": [ "application/json; charset=utf-8" @@ -198,26 +198,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"startTime\": \"2020-03-11T18:24:01.1918832Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "397ba00d-bf55-4319-9410-4ec0c910bfc1" + "f5bbccbf-889b-4de8-90b4-efa0cb3523cc" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -228,7 +228,7 @@ "no-cache" ], "x-ms-request-id": [ - "c0d3b954-72f1-48c8-a4bd-3f40dc9b1f16" + "8af4db1e-bf81-40d2-90ca-6e636b4844b6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -237,10 +237,10 @@ "11997" ], "x-ms-correlation-request-id": [ - "0828321c-6c73-400c-803c-d374bbffa014" + "353d3695-7d97-495e-9ea7-1799d75e68bb" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182420Z:0828321c-6c73-400c-803c-d374bbffa014" + "WESTUS:20201123T193227Z:353d3695-7d97-495e-9ea7-1799d75e68bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -249,10 +249,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:24:20 GMT" + "Mon, 23 Nov 2020 19:32:27 GMT" ], "Content-Length": [ - "1212" + "1677" ], "Content-Type": [ "application/json; charset=utf-8" @@ -261,26 +261,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"startTime\": \"2020-03-11T18:24:01.1918832Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/wkmkc7qe5fwgaazscripts\",\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f2c4ef85-ab10-4d24-802f-eac747e973c8" + "f6766c11-7a00-4488-b60c-12dfd4cc1fa0" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -291,7 +291,7 @@ "no-cache" ], "x-ms-request-id": [ - "c2a2fd15-078b-4ad8-a269-cf9e35bd1912" + "9451750f-8ede-4af0-a7f7-5304004831fe" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -300,10 +300,10 @@ "11996" ], "x-ms-correlation-request-id": [ - "97013d12-a0c7-4181-892f-d4365325ea9b" + "6d8989ed-c35f-4f86-8cd9-e4631b11d7ef" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182431Z:97013d12-a0c7-4181-892f-d4365325ea9b" + "WESTUS:20201123T193237Z:6d8989ed-c35f-4f86-8cd9-e4631b11d7ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -312,10 +312,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:24:30 GMT" + "Mon, 23 Nov 2020 19:32:37 GMT" ], "Content-Length": [ - "1386" + "1864" ], "Content-Type": [ "application/json; charset=utf-8" @@ -324,26 +324,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/pzpqqcxww5kvkazscripts\",\r\n \"startTime\": \"2020-03-11T18:24:01.1918832Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/wkmkc7qe5fwgaazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/wkmkc7qe5fwgaazscripts\",\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "eaf5e120-4832-4181-8ef0-fa18f51c2150" + "9b32703a-85b9-465a-956c-55f6478a4b37" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -354,7 +354,7 @@ "no-cache" ], "x-ms-request-id": [ - "3864767e-fd54-4c6c-810a-74aa69efd1d3" + "481a6c18-5d07-4fa1-8e26-1714c46f7883" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -363,10 +363,10 @@ "11995" ], "x-ms-correlation-request-id": [ - "d55253f6-0389-4d27-ac20-deb97da4f625" + "b3f0a38d-00f2-4f72-9927-da683a464251" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182441Z:d55253f6-0389-4d27-ac20-deb97da4f625" + "WESTUS:20201123T193247Z:b3f0a38d-00f2-4f72-9927-da683a464251" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -375,10 +375,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:24:40 GMT" + "Mon, 23 Nov 2020 19:32:47 GMT" ], "Content-Length": [ - "1386" + "1864" ], "Content-Type": [ "application/json; charset=utf-8" @@ -387,26 +387,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/pzpqqcxww5kvkazscripts\",\r\n \"startTime\": \"2020-03-11T18:24:01.1918832Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/wkmkc7qe5fwgaazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/wkmkc7qe5fwgaazscripts\",\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d7d39063-11c1-46b4-b165-5636db0ec6b3" + "30500c6f-2085-4f8b-9622-9643fa599248" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -417,19 +417,82 @@ "no-cache" ], "x-ms-request-id": [ - "42938c77-357c-420a-9bfa-858e7a82beee" + "6c1e5fc6-b3a6-4b6e-b0cf-ee686ae1b751" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ + "db57ebbc-2f7e-4b4e-bb09-1ca8f2535786" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201123T193257Z:db57ebbc-2f7e-4b4e-bb09-1ca8f2535786" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 23 Nov 2020 19:32:57 GMT" + ], + "Content-Length": [ + "1864" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/wkmkc7qe5fwgaazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/wkmkc7qe5fwgaazscripts\",\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1ab746ed-5a7b-47f9-a991-23190a44a390" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1af3b697-42d9-44e2-b8ad-d6244449a6d4" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], "x-ms-correlation-request-id": [ - "cee17129-d3c6-4f80-8296-a735821819d6" + "295cbeed-86b6-4925-80df-c087cbe74b08" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182451Z:cee17129-d3c6-4f80-8296-a735821819d6" + "WESTUS:20201123T193308Z:295cbeed-86b6-4925-80df-c087cbe74b08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -438,10 +501,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:24:50 GMT" + "Mon, 23 Nov 2020 19:33:07 GMT" ], "Content-Length": [ - "1386" + "1864" ], "Content-Type": [ "application/json; charset=utf-8" @@ -450,26 +513,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/pzpqqcxww5kvkazscripts\",\r\n \"startTime\": \"2020-03-11T18:24:01.1918832Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/wkmkc7qe5fwgaazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/wkmkc7qe5fwgaazscripts\",\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "762ac68e-8bf2-4a9e-8df5-5cced08122ca" + "c39b74b4-cdae-44d6-ad20-6d8204828e60" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -480,19 +543,19 @@ "no-cache" ], "x-ms-request-id": [ - "e5a66507-ae99-4382-bd8c-d0e309d4b9d7" + "8af34843-920c-4430-bc47-4bbd2202ded9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11992" ], "x-ms-correlation-request-id": [ - "2b97666f-13c7-4f82-9fc5-5b2b45e9c13e" + "a7816987-b849-4746-96e3-ef2284ef8547" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182501Z:2b97666f-13c7-4f82-9fc5-5b2b45e9c13e" + "WESTUS:20201123T193318Z:a7816987-b849-4746-96e3-ef2284ef8547" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -501,10 +564,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:25:01 GMT" + "Mon, 23 Nov 2020 19:33:17 GMT" ], "Content-Length": [ - "1386" + "1850" ], "Content-Type": [ "application/json; charset=utf-8" @@ -513,26 +576,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"ProvisioningResources\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/pzpqqcxww5kvkazscripts\",\r\n \"startTime\": \"2020-03-11T18:24:01.1918832Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Running\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/wkmkc7qe5fwgaazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/wkmkc7qe5fwgaazscripts\",\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\"\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0a85f5cd-2fab-4aed-ae4f-724a6477e97b" + "af9f18b5-0f0d-41c2-aff4-77ea18fc96fc" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -543,19 +606,19 @@ "no-cache" ], "x-ms-request-id": [ - "8dadf5b1-b5aa-4a83-a3e5-f996a22d243f" + "b6fdf2a6-ebf4-4e3b-9b87-284eddb7ed48" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11991" ], "x-ms-correlation-request-id": [ - "236be7c2-7540-4365-9b15-48778906da61" + "7f227551-03b0-4b91-9904-a1db4baaaffb" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182511Z:236be7c2-7540-4365-9b15-48778906da61" + "WESTUS:20201123T193328Z:7f227551-03b0-4b91-9904-a1db4baaaffb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -564,10 +627,10 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:25:11 GMT" + "Mon, 23 Nov 2020 19:33:27 GMT" ], "Content-Length": [ - "4336" + "4729" ], "Content-Type": [ "application/json; charset=utf-8" @@ -576,26 +639,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/pzpqqcxww5kvkazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/pzpqqcxww5kvkazscripts\",\r\n \"startTime\": \"2020-03-11T18:24:01.1918832Z\",\r\n \"endTime\": \"2020-03-11T18:25:09.0035598Z\",\r\n \"expirationTime\": \"2020-03-12T20:25:09.0035598Z\",\r\n \"error\": {\r\n \"code\": \"DeploymentScriptError\",\r\n \"message\": \"The provided script failed with the following error:\\r\\nSystem.Management.Automation.CommandNotFoundException: The term 'This-will-fail.' is not recognized as the name of a cmdlet, function, script file, or operable program.\\nCheck the spelling of the name, or if a path was included, verify that the path is correct and try again.\\n at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)\\n at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)\\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\\n at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)\\n at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)\\n at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)\\n at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)\\n at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)\\n at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)\\n at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()\\n at System.Management.Automation.Cmdlet.DoProcessRecord()\\n at System.Management.Automation.CommandProcessor.ProcessRecord()\\r\\nat , /mnt/azscripts/azscriptinput/userscript.ps1: line 1\\r\\nat , : line 1\\r\\nat , /mnt/azscripts/azscriptinput/DeploymentScript.ps1: line 163\"\r\n }\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet5853\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-23T19:31:56.7477133Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-23T19:31:56.7477133Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"This-will-fail.\",\r\n \"retentionInterval\": \"P1DT2H\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {},\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/wkmkc7qe5fwgaazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/wkmkc7qe5fwgaazscripts\",\r\n \"startTime\": \"2020-11-23T19:32:03.3561087Z\",\r\n \"endTime\": \"2020-11-23T19:33:21.6264104Z\",\r\n \"expirationTime\": \"2020-11-24T21:33:21.6264104Z\",\r\n \"error\": {\r\n \"code\": \"DeploymentScriptError\",\r\n \"message\": \"The provided script failed with the following error:\\r\\nSystem.Management.Automation.CommandNotFoundException: The term 'This-will-fail.' is not recognized as the name of a cmdlet, function, script file, or operable program.\\nCheck the spelling of the name, or if a path was included, verify that the path is correct and try again.\\n at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)\\n at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)\\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\\n at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)\\n at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)\\n at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)\\n at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)\\n at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)\\n at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)\\n at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()\\n at System.Management.Automation.Cmdlet.DoProcessRecord()\\n at System.Management.Automation.CommandProcessor.ProcessRecord()\\r\\nat , /mnt/azscripts/azscriptinput/userscript.ps1: line 1\\r\\nat , : line 1\\r\\nat , /mnt/azscripts/azscriptinput/DeploymentScript.ps1: line 192. Please refer to https://aka.ms/DeploymentScriptsTroubleshoot for more deployment script information.\"\r\n }\r\n },\r\n \"cleanupPreference\": \"Always\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"CanReturnErrorOnScriptExecutionFailure--azsmnet9787\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet5853?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDU4NTM/YXBpLXZlcnNpb249MjAxOS0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/CanReturnErrorOnScriptExecutionFailure--azsmnet9787?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cy9DYW5SZXR1cm5FcnJvck9uU2NyaXB0RXhlY3V0aW9uRmFpbHVyZS0tYXpzbW5ldDk3ODc/YXBpLXZlcnNpb249MjAyMC0xMC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2caabdfd-f047-4d56-95e0-e65c7d1eb351" + "7f373128-51b8-4b1d-9120-464169d0fbe2" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -606,7 +669,7 @@ "no-cache" ], "x-ms-request-id": [ - "e15d6123-2987-4423-8d8a-d60065c9f365" + "58f49d23-8196-407d-9b3a-da71550e7fc4" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -615,10 +678,10 @@ "14999" ], "x-ms-correlation-request-id": [ - "578af1b9-f627-4c1f-b116-6c8889f64d1f" + "7a631126-24ea-4738-815c-7505bcb0e771" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182633Z:578af1b9-f627-4c1f-b116-6c8889f64d1f" + "WESTUS:20201123T193342Z:7a631126-24ea-4738-815c-7505bcb0e771" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -627,7 +690,7 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:26:33 GMT" + "Mon, 23 Nov 2020 19:33:41 GMT" ], "Expires": [ "-1" @@ -640,22 +703,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts?api-version=2019-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cz9hcGktdmVyc2lvbj0yMDE5LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts?api-version=2020-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL0RzLVRlc3RSZy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U2NyaXB0cz9hcGktdmVyc2lvbj0yMDIwLTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8e081c8d-9a43-4c95-bee0-d332a1e775aa" + "6d172720-6ef8-4e05-aecd-a175d6ae40d6" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.29321.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.4.0.0" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.DeploymentScriptsClient/3.10.1.0" ] }, "ResponseHeaders": { @@ -665,20 +728,17 @@ "Pragma": [ "no-cache" ], - "x-ms-request-id": [ - "fc52f8d9-30e1-4de3-b787-140996b7ee27" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11990" + ], + "x-ms-request-id": [ + "8f22902b-5f0d-4b41-b423-3cb321420094" ], "x-ms-correlation-request-id": [ - "20089667-106b-4a3c-bdbc-b146de081782" + "8f22902b-5f0d-4b41-b423-3cb321420094" ], "x-ms-routing-request-id": [ - "WESTUS:20200311T182634Z:20089667-106b-4a3c-bdbc-b146de081782" + "WESTUS:20201123T193342Z:8f22902b-5f0d-4b41-b423-3cb321420094" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -687,25 +747,25 @@ "nosniff" ], "Date": [ - "Wed, 11 Mar 2020 18:26:34 GMT" - ], - "Content-Length": [ - "8494" + "Mon, 23 Nov 2020 19:33:41 GMT" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ], + "Content-Length": [ + "12" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"Param([string]$Location) $output = get-azresourcegroup -Location $Location ; $DeploymentScriptOutputs['scriptOutput'] = $output\",\r\n \"arguments\": \"-Location 'westus'\",\r\n \"retentionInterval\": \"P7D\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/ngnd5lro6s4hwazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/ngnd5lro6s4hwazscripts\",\r\n \"startTime\": \"2020-02-06T18:19:41.8355905Z\",\r\n \"endTime\": \"2020-02-06T18:21:05.126256Z\",\r\n \"expirationTime\": \"2020-02-13T18:21:05.126256Z\"\r\n },\r\n \"outputs\": {\r\n \"scriptOutput\": [\r\n {\r\n \"ResourceGroupName\": \"RG_test123\",\r\n \"Location\": \"westus\",\r\n \"ProvisioningState\": \"Succeeded\",\r\n \"Tags\": null,\r\n \"TagsTable\": null,\r\n \"ResourceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/RG_test123\",\r\n \"ManagedBy\": null\r\n },\r\n {\r\n \"ResourceGroupName\": \"storageRG_Test\",\r\n \"Location\": \"westus\",\r\n \"ProvisioningState\": \"Succeeded\",\r\n \"Tags\": null,\r\n \"TagsTable\": null,\r\n \"ResourceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/storageRG_Test\",\r\n \"ManagedBy\": null\r\n },\r\n {\r\n \"ResourceGroupName\": \"testresourcegroup_bp3\",\r\n \"Location\": \"westus\",\r\n \"ProvisioningState\": \"Succeeded\",\r\n \"Tags\": null,\r\n \"TagsTable\": null,\r\n \"ResourceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/testresourcegroup_bp3\",\r\n \"ManagedBy\": null\r\n },\r\n {\r\n \"ResourceGroupName\": \"Ds-TestRg\",\r\n \"Location\": \"westus\",\r\n \"ProvisioningState\": \"Succeeded\",\r\n \"Tags\": \"System.Collections.Hashtable\",\r\n \"TagsTable\": null,\r\n \"ResourceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg\",\r\n \"ManagedBy\": null\r\n }\r\n ]\r\n },\r\n \"cleanupPreference\": \"OnExpiration\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/MyDeploymentScriptTest\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"MyDeploymentScriptTest\"\r\n },\r\n {\r\n \"kind\": \"AzurePowerShell\",\r\n \"identity\": {\r\n \"type\": \"userAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/filiz-user-assigned-msi\": {\r\n \"principalId\": \"97939ebd-fa2e-4055-8e3b-eb5252632e6a\",\r\n \"clientId\": \"0376d532-7364-4bec-8989-e11939b72a6a\"\r\n }\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"azPowerShellVersion\": \"2.7.0\",\r\n \"scriptContent\": \"this-will-fail-direct-put-min-create-ps\",\r\n \"retentionInterval\": \"P7D\",\r\n \"timeout\": \"P1D\",\r\n \"containerSettings\": {\r\n \"restartPolicy\": \"never\"\r\n },\r\n \"status\": {\r\n \"containerInstanceId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.ContainerInstance/containerGroups/bq4f6xvsx72riazscripts\",\r\n \"storageAccountId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Storage/storageAccounts/bq4f6xvsx72riazscripts\",\r\n \"startTime\": \"2020-01-30T17:27:57.2608852Z\",\r\n \"endTime\": \"2020-01-30T17:29:15.4489333Z\",\r\n \"expirationTime\": \"2020-02-06T17:29:15.4489333Z\",\r\n \"error\": {\r\n \"code\": \"DeploymentScriptExecutionFailed\",\r\n \"message\": \"[\\r\\n {\\r\\n \\\"Exception\\\": \\\"System.Management.Automation.CommandNotFoundException: The term 'this-will-fail-direct-put-min-create-ps' is not recognized as the name of a cmdlet, function, script file, or operable program.\\\\nCheck the spelling of the name, or if a path was included, verify that the path is correct and try again.\\\\n at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)\\\\n at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)\\\\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\\\\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\\\\n at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)\\\\n at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)\\\\n at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)\\\\n at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)\\\\n at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)\\\\n at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)\\\\n at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()\\\\n at System.Management.Automation.Cmdlet.DoProcessRecord()\\\\n at System.Management.Automation.CommandProcessor.ProcessRecord()\\\",\\r\\n \\\"TargetObject\\\": \\\"this-will-fail-direct-put-min-create-ps\\\",\\r\\n \\\"CategoryInfo\\\": \\\"ObjectNotFound: (this-will-fail-direct-put-min-create-ps:String) [], CommandNotFoundException\\\",\\r\\n \\\"FullyQualifiedErrorId\\\": \\\"CommandNotFoundException\\\",\\r\\n \\\"ErrorDetails\\\": null,\\r\\n \\\"InvocationInfo\\\": \\\"System.Management.Automation.InvocationInfo\\\",\\r\\n \\\"ScriptStackTrace\\\": \\\"at , /mnt/azscripts/azscriptinput/userscript.ps1: line 1\\\\nat , : line 1\\\\nat , /mnt/azscripts/azscriptinput/DeploymentScript.ps1: line 163\\\",\\r\\n \\\"PipelineIterationInfo\\\": \\\"\\\"\\r\\n }\\r\\n]\"\r\n }\r\n },\r\n \"cleanupPreference\": \"OnExpiration\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/Ds-TestRg/providers/Microsoft.Resources/deploymentScripts/MyDeploymentScriptTestPS\",\r\n \"type\": \"Microsoft.Resources/deploymentScripts\",\r\n \"name\": \"MyDeploymentScriptTestPS\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 } ], "Names": { "CanReturnErrorOnScriptExecutionFailure": [ - "azsmnet5853" + "azsmnet9787" ] }, "Variables": {