diff --git a/docs/hugo/content/reference/_index.md b/docs/hugo/content/reference/_index.md index 95ecc99a3f3..6314a32d9fd 100644 --- a/docs/hugo/content/reference/_index.md +++ b/docs/hugo/content/reference/_index.md @@ -300,10 +300,11 @@ Supporting 2 resources: FederatedIdentityCredential, UserAssignedIdentity ## Network -Supporting 23 resources: LoadBalancer, NetworkInterface, NetworkSecurityGroup, NetworkSecurityGroupsSecurityRule, PrivateDnsZone, PrivateDnsZonesAAAARecord, PrivateDnsZonesARecord, PrivateDnsZonesCNAMERecord, PrivateDnsZonesMXRecord, PrivateDnsZonesPTRRecord, PrivateDnsZonesSRVRecord, PrivateDnsZonesTXTRecord, PrivateDnsZonesVirtualNetworkLink, PrivateEndpoint, PrivateEndpointsPrivateDnsZoneGroup, PrivateLinkService, PublicIPAddress, RouteTable, RouteTablesRoute, VirtualNetwork, VirtualNetworkGateway, VirtualNetworksSubnet, VirtualNetworksVirtualNetworkPeering +Supporting 24 resources: BastionHost, LoadBalancer, NetworkInterface, NetworkSecurityGroup, NetworkSecurityGroupsSecurityRule, PrivateDnsZone, PrivateDnsZonesAAAARecord, PrivateDnsZonesARecord, PrivateDnsZonesCNAMERecord, PrivateDnsZonesMXRecord, PrivateDnsZonesPTRRecord, PrivateDnsZonesSRVRecord, PrivateDnsZonesTXTRecord, PrivateDnsZonesVirtualNetworkLink, PrivateEndpoint, PrivateEndpointsPrivateDnsZoneGroup, PrivateLinkService, PublicIPAddress, RouteTable, RouteTablesRoute, VirtualNetwork, VirtualNetworkGateway, VirtualNetworksSubnet, VirtualNetworksVirtualNetworkPeering | Resource | ARM Version | CRD Version | Supported From | Sample | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|----------------|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------| +| BastionHost | 2022-07-01 | v1api20220701 | v2.1.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/network/v1api20220701/v1api20220701_bastionhost.yaml) | | LoadBalancer | 2020-11-01 | v1api20201101 | v2.0.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/network/v1api20201101/v1api20201101_loadbalancer.yaml) | | [LoadBalancer](https://azure.github.io/azure-service-operator/reference/network/v1beta20201101/#network.azure.com/v1beta20201101.LoadBalancer) | 2020-11-01 | v1beta20201101 | v2.0.0-beta.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/network/v1beta20201101/v1beta20201101_loadbalancer.yaml) | | NetworkInterface | 2020-11-01 | v1api20201101 | v2.0.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/network/v1api20201101/v1api20201101_networkinterface.yaml) | diff --git a/v2/api/network/customizations/bastion_host_extension_types_gen.go b/v2/api/network/customizations/bastion_host_extension_types_gen.go new file mode 100644 index 00000000000..d6ec42a0057 --- /dev/null +++ b/v2/api/network/customizations/bastion_host_extension_types_gen.go @@ -0,0 +1,20 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package customizations + +import ( + v1api20220701 "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701" + v1api20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701storage" + "github.com/Azure/azure-service-operator/v2/pkg/genruntime" +) + +type BastionHostExtension struct { +} + +// GetExtendedResources Returns the KubernetesResource slice for Resource versions +func (extension *BastionHostExtension) GetExtendedResources() []genruntime.KubernetesResource { + return []genruntime.KubernetesResource{ + &v1api20220701.BastionHost{}, + &v1api20220701s.BastionHost{}} +} diff --git a/v2/api/network/customizations/structure.txt b/v2/api/network/customizations/structure.txt index 5a9d9bb1cee..4c8672e9493 100644 --- a/v2/api/network/customizations/structure.txt +++ b/v2/api/network/customizations/structure.txt @@ -1,4 +1,5 @@ github.com/Azure/azure-service-operator/v2/api/network/customizations +├── BastionHostExtension: Object (0 properties) ├── LoadBalancerExtension: Object (0 properties) ├── NetworkInterfaceExtension: Object (0 properties) ├── NetworkSecurityGroupExtension: Object (0 properties) diff --git a/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen.go b/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen.go new file mode 100644 index 00000000000..1e8a4072853 --- /dev/null +++ b/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen.go @@ -0,0 +1,105 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package v1api20220701 + +import "github.com/Azure/azure-service-operator/v2/pkg/genruntime" + +type BastionHost_Spec_ARM struct { + // Location: Resource location. + Location *string `json:"location,omitempty"` + Name string `json:"name,omitempty"` + + // Properties: Represents the bastion host resource. + Properties *BastionHostPropertiesFormat_ARM `json:"properties,omitempty"` + + // Sku: The sku of this Bastion Host. + Sku *Sku_ARM `json:"sku,omitempty"` + + // Tags: Resource tags. + Tags map[string]string `json:"tags,omitempty"` +} + +var _ genruntime.ARMResourceSpec = &BastionHost_Spec_ARM{} + +// GetAPIVersion returns the ARM API version of the resource. This is always "2022-07-01" +func (host BastionHost_Spec_ARM) GetAPIVersion() string { + return string(APIVersion_Value) +} + +// GetName returns the Name of the resource +func (host *BastionHost_Spec_ARM) GetName() string { + return host.Name +} + +// GetType returns the ARM Type of the resource. This is always "Microsoft.Network/bastionHosts" +func (host *BastionHost_Spec_ARM) GetType() string { + return "Microsoft.Network/bastionHosts" +} + +// Properties of the Bastion Host. +type BastionHostPropertiesFormat_ARM struct { + // DisableCopyPaste: Enable/Disable Copy/Paste feature of the Bastion Host resource. + DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` + + // DnsName: FQDN for the endpoint on which bastion host is accessible. + DnsName *string `json:"dnsName,omitempty"` + + // EnableFileCopy: Enable/Disable File Copy feature of the Bastion Host resource. + EnableFileCopy *bool `json:"enableFileCopy,omitempty"` + + // EnableIpConnect: Enable/Disable IP Connect feature of the Bastion Host resource. + EnableIpConnect *bool `json:"enableIpConnect,omitempty"` + + // EnableShareableLink: Enable/Disable Shareable Link of the Bastion Host resource. + EnableShareableLink *bool `json:"enableShareableLink,omitempty"` + + // EnableTunneling: Enable/Disable Tunneling feature of the Bastion Host resource. + EnableTunneling *bool `json:"enableTunneling,omitempty"` + + // IpConfigurations: IP configuration of the Bastion Host resource. + IpConfigurations []BastionHostIPConfiguration_ARM `json:"ipConfigurations,omitempty"` + + // ScaleUnits: The scale units for the Bastion Host resource. + ScaleUnits *int `json:"scaleUnits,omitempty"` +} + +// The sku of this Bastion Host. +type Sku_ARM struct { + // Name: The name of this Bastion Host. + Name *Sku_Name `json:"name,omitempty"` +} + +// IP configuration of an Bastion Host. +type BastionHostIPConfiguration_ARM struct { + // Name: Name of the resource that is unique within a resource group. This name can be used to access the resource. + Name *string `json:"name,omitempty"` + + // Properties: Represents the ip configuration associated with the resource. + Properties *BastionHostIPConfigurationPropertiesFormat_ARM `json:"properties,omitempty"` +} + +// +kubebuilder:validation:Enum={"Basic","Standard"} +type Sku_Name string + +const ( + Sku_Name_Basic = Sku_Name("Basic") + Sku_Name_Standard = Sku_Name("Standard") +) + +// Properties of IP configuration of an Bastion Host. +type BastionHostIPConfigurationPropertiesFormat_ARM struct { + // PrivateIPAllocationMethod: Private IP allocation method. + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + + // PublicIPAddress: Reference of the PublicIP resource. + PublicIPAddress *BastionHostSubResource_ARM `json:"publicIPAddress,omitempty"` + + // Subnet: Reference of the subnet resource. + Subnet *BastionHostSubResource_ARM `json:"subnet,omitempty"` +} + +// Reference to another subresource. +type BastionHostSubResource_ARM struct { + Id *string `json:"id,omitempty"` +} diff --git a/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen_test.go b/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen_test.go new file mode 100644 index 00000000000..1b02b1c393f --- /dev/null +++ b/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen_test.go @@ -0,0 +1,449 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package v1api20220701 + +import ( + "encoding/json" + "github.com/google/go-cmp/cmp" + "github.com/google/go-cmp/cmp/cmpopts" + "github.com/kr/pretty" + "github.com/kylelemons/godebug/diff" + "github.com/leanovate/gopter" + "github.com/leanovate/gopter/gen" + "github.com/leanovate/gopter/prop" + "os" + "reflect" + "testing" +) + +func Test_BastionHost_Spec_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHost_Spec_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHost_Spec_ARM, BastionHost_Spec_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHost_Spec_ARM runs a test to see if a specific instance of BastionHost_Spec_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHost_Spec_ARM(subject BastionHost_Spec_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHost_Spec_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHost_Spec_ARM instances for property testing - lazily instantiated by +// BastionHost_Spec_ARMGenerator() +var bastionHost_Spec_ARMGenerator gopter.Gen + +// BastionHost_Spec_ARMGenerator returns a generator of BastionHost_Spec_ARM instances for property testing. +// We first initialize bastionHost_Spec_ARMGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHost_Spec_ARMGenerator() gopter.Gen { + if bastionHost_Spec_ARMGenerator != nil { + return bastionHost_Spec_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_Spec_ARM(generators) + bastionHost_Spec_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHost_Spec_ARM{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_Spec_ARM(generators) + AddRelatedPropertyGeneratorsForBastionHost_Spec_ARM(generators) + bastionHost_Spec_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHost_Spec_ARM{}), generators) + + return bastionHost_Spec_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHost_Spec_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHost_Spec_ARM(gens map[string]gopter.Gen) { + gens["Location"] = gen.PtrOf(gen.AlphaString()) + gens["Name"] = gen.AlphaString() + gens["Tags"] = gen.MapOf(gen.AlphaString(), gen.AlphaString()) +} + +// AddRelatedPropertyGeneratorsForBastionHost_Spec_ARM is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHost_Spec_ARM(gens map[string]gopter.Gen) { + gens["Properties"] = gen.PtrOf(BastionHostPropertiesFormat_ARMGenerator()) + gens["Sku"] = gen.PtrOf(Sku_ARMGenerator()) +} + +func Test_BastionHostPropertiesFormat_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostPropertiesFormat_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostPropertiesFormat_ARM, BastionHostPropertiesFormat_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostPropertiesFormat_ARM runs a test to see if a specific instance of BastionHostPropertiesFormat_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostPropertiesFormat_ARM(subject BastionHostPropertiesFormat_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostPropertiesFormat_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostPropertiesFormat_ARM instances for property testing - lazily instantiated by +// BastionHostPropertiesFormat_ARMGenerator() +var bastionHostPropertiesFormat_ARMGenerator gopter.Gen + +// BastionHostPropertiesFormat_ARMGenerator returns a generator of BastionHostPropertiesFormat_ARM instances for property testing. +// We first initialize bastionHostPropertiesFormat_ARMGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHostPropertiesFormat_ARMGenerator() gopter.Gen { + if bastionHostPropertiesFormat_ARMGenerator != nil { + return bastionHostPropertiesFormat_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostPropertiesFormat_ARM(generators) + bastionHostPropertiesFormat_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostPropertiesFormat_ARM{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostPropertiesFormat_ARM(generators) + AddRelatedPropertyGeneratorsForBastionHostPropertiesFormat_ARM(generators) + bastionHostPropertiesFormat_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostPropertiesFormat_ARM{}), generators) + + return bastionHostPropertiesFormat_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostPropertiesFormat_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostPropertiesFormat_ARM(gens map[string]gopter.Gen) { + gens["DisableCopyPaste"] = gen.PtrOf(gen.Bool()) + gens["DnsName"] = gen.PtrOf(gen.AlphaString()) + gens["EnableFileCopy"] = gen.PtrOf(gen.Bool()) + gens["EnableIpConnect"] = gen.PtrOf(gen.Bool()) + gens["EnableShareableLink"] = gen.PtrOf(gen.Bool()) + gens["EnableTunneling"] = gen.PtrOf(gen.Bool()) + gens["ScaleUnits"] = gen.PtrOf(gen.Int()) +} + +// AddRelatedPropertyGeneratorsForBastionHostPropertiesFormat_ARM is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHostPropertiesFormat_ARM(gens map[string]gopter.Gen) { + gens["IpConfigurations"] = gen.SliceOf(BastionHostIPConfiguration_ARMGenerator()) +} + +func Test_Sku_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of Sku_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForSku_ARM, Sku_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForSku_ARM runs a test to see if a specific instance of Sku_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForSku_ARM(subject Sku_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual Sku_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of Sku_ARM instances for property testing - lazily instantiated by Sku_ARMGenerator() +var sku_ARMGenerator gopter.Gen + +// Sku_ARMGenerator returns a generator of Sku_ARM instances for property testing. +func Sku_ARMGenerator() gopter.Gen { + if sku_ARMGenerator != nil { + return sku_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForSku_ARM(generators) + sku_ARMGenerator = gen.Struct(reflect.TypeOf(Sku_ARM{}), generators) + + return sku_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForSku_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForSku_ARM(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.OneConstOf(Sku_Name_Basic, Sku_Name_Standard)) +} + +func Test_BastionHostIPConfiguration_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostIPConfiguration_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostIPConfiguration_ARM, BastionHostIPConfiguration_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostIPConfiguration_ARM runs a test to see if a specific instance of BastionHostIPConfiguration_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostIPConfiguration_ARM(subject BastionHostIPConfiguration_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostIPConfiguration_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostIPConfiguration_ARM instances for property testing - lazily instantiated by +// BastionHostIPConfiguration_ARMGenerator() +var bastionHostIPConfiguration_ARMGenerator gopter.Gen + +// BastionHostIPConfiguration_ARMGenerator returns a generator of BastionHostIPConfiguration_ARM instances for property testing. +// We first initialize bastionHostIPConfiguration_ARMGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHostIPConfiguration_ARMGenerator() gopter.Gen { + if bastionHostIPConfiguration_ARMGenerator != nil { + return bastionHostIPConfiguration_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_ARM(generators) + bastionHostIPConfiguration_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration_ARM{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_ARM(generators) + AddRelatedPropertyGeneratorsForBastionHostIPConfiguration_ARM(generators) + bastionHostIPConfiguration_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration_ARM{}), generators) + + return bastionHostIPConfiguration_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_ARM(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.AlphaString()) +} + +// AddRelatedPropertyGeneratorsForBastionHostIPConfiguration_ARM is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHostIPConfiguration_ARM(gens map[string]gopter.Gen) { + gens["Properties"] = gen.PtrOf(BastionHostIPConfigurationPropertiesFormat_ARMGenerator()) +} + +func Test_BastionHostIPConfigurationPropertiesFormat_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostIPConfigurationPropertiesFormat_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostIPConfigurationPropertiesFormat_ARM, BastionHostIPConfigurationPropertiesFormat_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostIPConfigurationPropertiesFormat_ARM runs a test to see if a specific instance of BastionHostIPConfigurationPropertiesFormat_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostIPConfigurationPropertiesFormat_ARM(subject BastionHostIPConfigurationPropertiesFormat_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostIPConfigurationPropertiesFormat_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostIPConfigurationPropertiesFormat_ARM instances for property testing - lazily instantiated by +// BastionHostIPConfigurationPropertiesFormat_ARMGenerator() +var bastionHostIPConfigurationPropertiesFormat_ARMGenerator gopter.Gen + +// BastionHostIPConfigurationPropertiesFormat_ARMGenerator returns a generator of BastionHostIPConfigurationPropertiesFormat_ARM instances for property testing. +// We first initialize bastionHostIPConfigurationPropertiesFormat_ARMGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHostIPConfigurationPropertiesFormat_ARMGenerator() gopter.Gen { + if bastionHostIPConfigurationPropertiesFormat_ARMGenerator != nil { + return bastionHostIPConfigurationPropertiesFormat_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfigurationPropertiesFormat_ARM(generators) + bastionHostIPConfigurationPropertiesFormat_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfigurationPropertiesFormat_ARM{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfigurationPropertiesFormat_ARM(generators) + AddRelatedPropertyGeneratorsForBastionHostIPConfigurationPropertiesFormat_ARM(generators) + bastionHostIPConfigurationPropertiesFormat_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfigurationPropertiesFormat_ARM{}), generators) + + return bastionHostIPConfigurationPropertiesFormat_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostIPConfigurationPropertiesFormat_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostIPConfigurationPropertiesFormat_ARM(gens map[string]gopter.Gen) { + gens["PrivateIPAllocationMethod"] = gen.PtrOf(gen.OneConstOf(IPAllocationMethod_Dynamic, IPAllocationMethod_Static)) +} + +// AddRelatedPropertyGeneratorsForBastionHostIPConfigurationPropertiesFormat_ARM is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHostIPConfigurationPropertiesFormat_ARM(gens map[string]gopter.Gen) { + gens["PublicIPAddress"] = gen.PtrOf(BastionHostSubResource_ARMGenerator()) + gens["Subnet"] = gen.PtrOf(BastionHostSubResource_ARMGenerator()) +} + +func Test_BastionHostSubResource_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostSubResource_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostSubResource_ARM, BastionHostSubResource_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostSubResource_ARM runs a test to see if a specific instance of BastionHostSubResource_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostSubResource_ARM(subject BastionHostSubResource_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostSubResource_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostSubResource_ARM instances for property testing - lazily instantiated by +// BastionHostSubResource_ARMGenerator() +var bastionHostSubResource_ARMGenerator gopter.Gen + +// BastionHostSubResource_ARMGenerator returns a generator of BastionHostSubResource_ARM instances for property testing. +func BastionHostSubResource_ARMGenerator() gopter.Gen { + if bastionHostSubResource_ARMGenerator != nil { + return bastionHostSubResource_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostSubResource_ARM(generators) + bastionHostSubResource_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostSubResource_ARM{}), generators) + + return bastionHostSubResource_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostSubResource_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostSubResource_ARM(gens map[string]gopter.Gen) { + gens["Id"] = gen.PtrOf(gen.AlphaString()) +} diff --git a/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen.go b/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen.go new file mode 100644 index 00000000000..5ed04e83f11 --- /dev/null +++ b/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen.go @@ -0,0 +1,80 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package v1api20220701 + +// Bastion Host resource. +type BastionHost_STATUS_ARM struct { + // Etag: A unique read-only string that changes whenever the resource is updated. + Etag *string `json:"etag,omitempty"` + + // Id: Resource ID. + Id *string `json:"id,omitempty"` + + // Location: Resource location. + Location *string `json:"location,omitempty"` + + // Name: Resource name. + Name *string `json:"name,omitempty"` + + // Properties: Represents the bastion host resource. + Properties *BastionHostPropertiesFormat_STATUS_ARM `json:"properties,omitempty"` + + // Sku: The sku of this Bastion Host. + Sku *Sku_STATUS_ARM `json:"sku,omitempty"` + + // Tags: Resource tags. + Tags map[string]string `json:"tags,omitempty"` + + // Type: Resource type. + Type *string `json:"type,omitempty"` +} + +// Properties of the Bastion Host. +type BastionHostPropertiesFormat_STATUS_ARM struct { + // DisableCopyPaste: Enable/Disable Copy/Paste feature of the Bastion Host resource. + DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` + + // DnsName: FQDN for the endpoint on which bastion host is accessible. + DnsName *string `json:"dnsName,omitempty"` + + // EnableFileCopy: Enable/Disable File Copy feature of the Bastion Host resource. + EnableFileCopy *bool `json:"enableFileCopy,omitempty"` + + // EnableIpConnect: Enable/Disable IP Connect feature of the Bastion Host resource. + EnableIpConnect *bool `json:"enableIpConnect,omitempty"` + + // EnableShareableLink: Enable/Disable Shareable Link of the Bastion Host resource. + EnableShareableLink *bool `json:"enableShareableLink,omitempty"` + + // EnableTunneling: Enable/Disable Tunneling feature of the Bastion Host resource. + EnableTunneling *bool `json:"enableTunneling,omitempty"` + + // IpConfigurations: IP configuration of the Bastion Host resource. + IpConfigurations []BastionHostIPConfiguration_STATUS_ARM `json:"ipConfigurations,omitempty"` + + // ProvisioningState: The provisioning state of the bastion host resource. + ProvisioningState *BastionHostProvisioningState_STATUS `json:"provisioningState,omitempty"` + + // ScaleUnits: The scale units for the Bastion Host resource. + ScaleUnits *int `json:"scaleUnits,omitempty"` +} + +// The sku of this Bastion Host. +type Sku_STATUS_ARM struct { + // Name: The name of this Bastion Host. + Name *Sku_Name_STATUS `json:"name,omitempty"` +} + +// IP configuration of an Bastion Host. +type BastionHostIPConfiguration_STATUS_ARM struct { + // Id: Resource ID. + Id *string `json:"id,omitempty"` +} + +type Sku_Name_STATUS string + +const ( + Sku_Name_STATUS_Basic = Sku_Name_STATUS("Basic") + Sku_Name_STATUS_Standard = Sku_Name_STATUS("Standard") +) diff --git a/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen_test.go b/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen_test.go new file mode 100644 index 00000000000..3ff76d6028d --- /dev/null +++ b/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen_test.go @@ -0,0 +1,306 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package v1api20220701 + +import ( + "encoding/json" + "github.com/google/go-cmp/cmp" + "github.com/google/go-cmp/cmp/cmpopts" + "github.com/kr/pretty" + "github.com/kylelemons/godebug/diff" + "github.com/leanovate/gopter" + "github.com/leanovate/gopter/gen" + "github.com/leanovate/gopter/prop" + "os" + "reflect" + "testing" +) + +func Test_BastionHost_STATUS_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHost_STATUS_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHost_STATUS_ARM, BastionHost_STATUS_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHost_STATUS_ARM runs a test to see if a specific instance of BastionHost_STATUS_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHost_STATUS_ARM(subject BastionHost_STATUS_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHost_STATUS_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHost_STATUS_ARM instances for property testing - lazily instantiated by +// BastionHost_STATUS_ARMGenerator() +var bastionHost_STATUS_ARMGenerator gopter.Gen + +// BastionHost_STATUS_ARMGenerator returns a generator of BastionHost_STATUS_ARM instances for property testing. +// We first initialize bastionHost_STATUS_ARMGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHost_STATUS_ARMGenerator() gopter.Gen { + if bastionHost_STATUS_ARMGenerator != nil { + return bastionHost_STATUS_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_STATUS_ARM(generators) + bastionHost_STATUS_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHost_STATUS_ARM{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_STATUS_ARM(generators) + AddRelatedPropertyGeneratorsForBastionHost_STATUS_ARM(generators) + bastionHost_STATUS_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHost_STATUS_ARM{}), generators) + + return bastionHost_STATUS_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHost_STATUS_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHost_STATUS_ARM(gens map[string]gopter.Gen) { + gens["Etag"] = gen.PtrOf(gen.AlphaString()) + gens["Id"] = gen.PtrOf(gen.AlphaString()) + gens["Location"] = gen.PtrOf(gen.AlphaString()) + gens["Name"] = gen.PtrOf(gen.AlphaString()) + gens["Tags"] = gen.MapOf(gen.AlphaString(), gen.AlphaString()) + gens["Type"] = gen.PtrOf(gen.AlphaString()) +} + +// AddRelatedPropertyGeneratorsForBastionHost_STATUS_ARM is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHost_STATUS_ARM(gens map[string]gopter.Gen) { + gens["Properties"] = gen.PtrOf(BastionHostPropertiesFormat_STATUS_ARMGenerator()) + gens["Sku"] = gen.PtrOf(Sku_STATUS_ARMGenerator()) +} + +func Test_BastionHostPropertiesFormat_STATUS_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostPropertiesFormat_STATUS_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostPropertiesFormat_STATUS_ARM, BastionHostPropertiesFormat_STATUS_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostPropertiesFormat_STATUS_ARM runs a test to see if a specific instance of BastionHostPropertiesFormat_STATUS_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostPropertiesFormat_STATUS_ARM(subject BastionHostPropertiesFormat_STATUS_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostPropertiesFormat_STATUS_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostPropertiesFormat_STATUS_ARM instances for property testing - lazily instantiated by +// BastionHostPropertiesFormat_STATUS_ARMGenerator() +var bastionHostPropertiesFormat_STATUS_ARMGenerator gopter.Gen + +// BastionHostPropertiesFormat_STATUS_ARMGenerator returns a generator of BastionHostPropertiesFormat_STATUS_ARM instances for property testing. +// We first initialize bastionHostPropertiesFormat_STATUS_ARMGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHostPropertiesFormat_STATUS_ARMGenerator() gopter.Gen { + if bastionHostPropertiesFormat_STATUS_ARMGenerator != nil { + return bastionHostPropertiesFormat_STATUS_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostPropertiesFormat_STATUS_ARM(generators) + bastionHostPropertiesFormat_STATUS_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostPropertiesFormat_STATUS_ARM{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostPropertiesFormat_STATUS_ARM(generators) + AddRelatedPropertyGeneratorsForBastionHostPropertiesFormat_STATUS_ARM(generators) + bastionHostPropertiesFormat_STATUS_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostPropertiesFormat_STATUS_ARM{}), generators) + + return bastionHostPropertiesFormat_STATUS_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostPropertiesFormat_STATUS_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostPropertiesFormat_STATUS_ARM(gens map[string]gopter.Gen) { + gens["DisableCopyPaste"] = gen.PtrOf(gen.Bool()) + gens["DnsName"] = gen.PtrOf(gen.AlphaString()) + gens["EnableFileCopy"] = gen.PtrOf(gen.Bool()) + gens["EnableIpConnect"] = gen.PtrOf(gen.Bool()) + gens["EnableShareableLink"] = gen.PtrOf(gen.Bool()) + gens["EnableTunneling"] = gen.PtrOf(gen.Bool()) + gens["ProvisioningState"] = gen.PtrOf(gen.OneConstOf( + BastionHostProvisioningState_STATUS_Deleting, + BastionHostProvisioningState_STATUS_Failed, + BastionHostProvisioningState_STATUS_Succeeded, + BastionHostProvisioningState_STATUS_Updating)) + gens["ScaleUnits"] = gen.PtrOf(gen.Int()) +} + +// AddRelatedPropertyGeneratorsForBastionHostPropertiesFormat_STATUS_ARM is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHostPropertiesFormat_STATUS_ARM(gens map[string]gopter.Gen) { + gens["IpConfigurations"] = gen.SliceOf(BastionHostIPConfiguration_STATUS_ARMGenerator()) +} + +func Test_Sku_STATUS_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of Sku_STATUS_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForSku_STATUS_ARM, Sku_STATUS_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForSku_STATUS_ARM runs a test to see if a specific instance of Sku_STATUS_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForSku_STATUS_ARM(subject Sku_STATUS_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual Sku_STATUS_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of Sku_STATUS_ARM instances for property testing - lazily instantiated by Sku_STATUS_ARMGenerator() +var sku_STATUS_ARMGenerator gopter.Gen + +// Sku_STATUS_ARMGenerator returns a generator of Sku_STATUS_ARM instances for property testing. +func Sku_STATUS_ARMGenerator() gopter.Gen { + if sku_STATUS_ARMGenerator != nil { + return sku_STATUS_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForSku_STATUS_ARM(generators) + sku_STATUS_ARMGenerator = gen.Struct(reflect.TypeOf(Sku_STATUS_ARM{}), generators) + + return sku_STATUS_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForSku_STATUS_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForSku_STATUS_ARM(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.OneConstOf(Sku_Name_STATUS_Basic, Sku_Name_STATUS_Standard)) +} + +func Test_BastionHostIPConfiguration_STATUS_ARM_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostIPConfiguration_STATUS_ARM via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostIPConfiguration_STATUS_ARM, BastionHostIPConfiguration_STATUS_ARMGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostIPConfiguration_STATUS_ARM runs a test to see if a specific instance of BastionHostIPConfiguration_STATUS_ARM round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostIPConfiguration_STATUS_ARM(subject BastionHostIPConfiguration_STATUS_ARM) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostIPConfiguration_STATUS_ARM + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostIPConfiguration_STATUS_ARM instances for property testing - lazily instantiated by +// BastionHostIPConfiguration_STATUS_ARMGenerator() +var bastionHostIPConfiguration_STATUS_ARMGenerator gopter.Gen + +// BastionHostIPConfiguration_STATUS_ARMGenerator returns a generator of BastionHostIPConfiguration_STATUS_ARM instances for property testing. +func BastionHostIPConfiguration_STATUS_ARMGenerator() gopter.Gen { + if bastionHostIPConfiguration_STATUS_ARMGenerator != nil { + return bastionHostIPConfiguration_STATUS_ARMGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS_ARM(generators) + bastionHostIPConfiguration_STATUS_ARMGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration_STATUS_ARM{}), generators) + + return bastionHostIPConfiguration_STATUS_ARMGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS_ARM is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS_ARM(gens map[string]gopter.Gen) { + gens["Id"] = gen.PtrOf(gen.AlphaString()) +} diff --git a/v2/api/network/v1api20220701/bastion_host_types_gen.go b/v2/api/network/v1api20220701/bastion_host_types_gen.go new file mode 100644 index 00000000000..9e24b783216 --- /dev/null +++ b/v2/api/network/v1api20220701/bastion_host_types_gen.go @@ -0,0 +1,2012 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package v1api20220701 + +import ( + "fmt" + v1api20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701storage" + "github.com/Azure/azure-service-operator/v2/internal/reflecthelpers" + "github.com/Azure/azure-service-operator/v2/pkg/genruntime" + "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions" + "github.com/pkg/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + kerrors "k8s.io/apimachinery/pkg/util/errors" + "sigs.k8s.io/controller-runtime/pkg/conversion" + "sigs.k8s.io/controller-runtime/pkg/webhook/admission" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" +// Generator information: +// - Generated from: /network/resource-manager/Microsoft.Network/stable/2022-07-01/bastionHost.json +// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName} +type BastionHost struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec BastionHost_Spec `json:"spec,omitempty"` + Status BastionHost_STATUS `json:"status,omitempty"` +} + +var _ conditions.Conditioner = &BastionHost{} + +// GetConditions returns the conditions of the resource +func (host *BastionHost) GetConditions() conditions.Conditions { + return host.Status.Conditions +} + +// SetConditions sets the conditions on the resource status +func (host *BastionHost) SetConditions(conditions conditions.Conditions) { + host.Status.Conditions = conditions +} + +var _ conversion.Convertible = &BastionHost{} + +// ConvertFrom populates our BastionHost from the provided hub BastionHost +func (host *BastionHost) ConvertFrom(hub conversion.Hub) error { + source, ok := hub.(*v1api20220701s.BastionHost) + if !ok { + return fmt.Errorf("expected network/v1api20220701storage/BastionHost but received %T instead", hub) + } + + return host.AssignProperties_From_BastionHost(source) +} + +// ConvertTo populates the provided hub BastionHost from our BastionHost +func (host *BastionHost) ConvertTo(hub conversion.Hub) error { + destination, ok := hub.(*v1api20220701s.BastionHost) + if !ok { + return fmt.Errorf("expected network/v1api20220701storage/BastionHost but received %T instead", hub) + } + + return host.AssignProperties_To_BastionHost(destination) +} + +// +kubebuilder:webhook:path=/mutate-network-azure-com-v1api20220701-bastionhost,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=bastionhosts,verbs=create;update,versions=v1api20220701,name=default.v1api20220701.bastionhosts.network.azure.com,admissionReviewVersions=v1 + +var _ admission.Defaulter = &BastionHost{} + +// Default applies defaults to the BastionHost resource +func (host *BastionHost) Default() { + host.defaultImpl() + var temp any = host + if runtimeDefaulter, ok := temp.(genruntime.Defaulter); ok { + runtimeDefaulter.CustomDefault() + } +} + +// defaultAzureName defaults the Azure name of the resource to the Kubernetes name +func (host *BastionHost) defaultAzureName() { + if host.Spec.AzureName == "" { + host.Spec.AzureName = host.Name + } +} + +// defaultImpl applies the code generated defaults to the BastionHost resource +func (host *BastionHost) defaultImpl() { host.defaultAzureName() } + +var _ genruntime.ImportableResource = &BastionHost{} + +// InitializeSpec initializes the spec for this resource from the given status +func (host *BastionHost) InitializeSpec(status genruntime.ConvertibleStatus) error { + if s, ok := status.(*BastionHost_STATUS); ok { + return host.Spec.Initialize_From_BastionHost_STATUS(s) + } + + return fmt.Errorf("expected Status of type BastionHost_STATUS but received %T instead", status) +} + +var _ genruntime.KubernetesResource = &BastionHost{} + +// AzureName returns the Azure name of the resource +func (host *BastionHost) AzureName() string { + return host.Spec.AzureName +} + +// GetAPIVersion returns the ARM API version of the resource. This is always "2022-07-01" +func (host BastionHost) GetAPIVersion() string { + return string(APIVersion_Value) +} + +// GetResourceScope returns the scope of the resource +func (host *BastionHost) GetResourceScope() genruntime.ResourceScope { + return genruntime.ResourceScopeResourceGroup +} + +// GetSpec returns the specification of this resource +func (host *BastionHost) GetSpec() genruntime.ConvertibleSpec { + return &host.Spec +} + +// GetStatus returns the status of this resource +func (host *BastionHost) GetStatus() genruntime.ConvertibleStatus { + return &host.Status +} + +// GetType returns the ARM Type of the resource. This is always "Microsoft.Network/bastionHosts" +func (host *BastionHost) GetType() string { + return "Microsoft.Network/bastionHosts" +} + +// NewEmptyStatus returns a new empty (blank) status +func (host *BastionHost) NewEmptyStatus() genruntime.ConvertibleStatus { + return &BastionHost_STATUS{} +} + +// Owner returns the ResourceReference of the owner +func (host *BastionHost) Owner() *genruntime.ResourceReference { + group, kind := genruntime.LookupOwnerGroupKind(host.Spec) + return &genruntime.ResourceReference{ + Group: group, + Kind: kind, + Name: host.Spec.Owner.Name, + } +} + +// SetStatus sets the status of this resource +func (host *BastionHost) SetStatus(status genruntime.ConvertibleStatus) error { + // If we have exactly the right type of status, assign it + if st, ok := status.(*BastionHost_STATUS); ok { + host.Status = *st + return nil + } + + // Convert status to required version + var st BastionHost_STATUS + err := status.ConvertStatusTo(&st) + if err != nil { + return errors.Wrap(err, "failed to convert status") + } + + host.Status = st + return nil +} + +// +kubebuilder:webhook:path=/validate-network-azure-com-v1api20220701-bastionhost,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=network.azure.com,resources=bastionhosts,verbs=create;update,versions=v1api20220701,name=validate.v1api20220701.bastionhosts.network.azure.com,admissionReviewVersions=v1 + +var _ admission.Validator = &BastionHost{} + +// ValidateCreate validates the creation of the resource +func (host *BastionHost) ValidateCreate() error { + validations := host.createValidations() + var temp any = host + if runtimeValidator, ok := temp.(genruntime.Validator); ok { + validations = append(validations, runtimeValidator.CreateValidations()...) + } + var errs []error + for _, validation := range validations { + err := validation() + if err != nil { + errs = append(errs, err) + } + } + return kerrors.NewAggregate(errs) +} + +// ValidateDelete validates the deletion of the resource +func (host *BastionHost) ValidateDelete() error { + validations := host.deleteValidations() + var temp any = host + if runtimeValidator, ok := temp.(genruntime.Validator); ok { + validations = append(validations, runtimeValidator.DeleteValidations()...) + } + var errs []error + for _, validation := range validations { + err := validation() + if err != nil { + errs = append(errs, err) + } + } + return kerrors.NewAggregate(errs) +} + +// ValidateUpdate validates an update of the resource +func (host *BastionHost) ValidateUpdate(old runtime.Object) error { + validations := host.updateValidations() + var temp any = host + if runtimeValidator, ok := temp.(genruntime.Validator); ok { + validations = append(validations, runtimeValidator.UpdateValidations()...) + } + var errs []error + for _, validation := range validations { + err := validation(old) + if err != nil { + errs = append(errs, err) + } + } + return kerrors.NewAggregate(errs) +} + +// createValidations validates the creation of the resource +func (host *BastionHost) createValidations() []func() error { + return []func() error{host.validateResourceReferences} +} + +// deleteValidations validates the deletion of the resource +func (host *BastionHost) deleteValidations() []func() error { + return nil +} + +// updateValidations validates the update of the resource +func (host *BastionHost) updateValidations() []func(old runtime.Object) error { + return []func(old runtime.Object) error{ + func(old runtime.Object) error { + return host.validateResourceReferences() + }, + host.validateWriteOnceProperties} +} + +// validateResourceReferences validates all resource references +func (host *BastionHost) validateResourceReferences() error { + refs, err := reflecthelpers.FindResourceReferences(&host.Spec) + if err != nil { + return err + } + return genruntime.ValidateResourceReferences(refs) +} + +// validateWriteOnceProperties validates all WriteOnce properties +func (host *BastionHost) validateWriteOnceProperties(old runtime.Object) error { + oldObj, ok := old.(*BastionHost) + if !ok { + return nil + } + + return genruntime.ValidateWriteOnceProperties(oldObj, host) +} + +// AssignProperties_From_BastionHost populates our BastionHost from the provided source BastionHost +func (host *BastionHost) AssignProperties_From_BastionHost(source *v1api20220701s.BastionHost) error { + + // ObjectMeta + host.ObjectMeta = *source.ObjectMeta.DeepCopy() + + // Spec + var spec BastionHost_Spec + err := spec.AssignProperties_From_BastionHost_Spec(&source.Spec) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_From_BastionHost_Spec() to populate field Spec") + } + host.Spec = spec + + // Status + var status BastionHost_STATUS + err = status.AssignProperties_From_BastionHost_STATUS(&source.Status) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_From_BastionHost_STATUS() to populate field Status") + } + host.Status = status + + // No error + return nil +} + +// AssignProperties_To_BastionHost populates the provided destination BastionHost from our BastionHost +func (host *BastionHost) AssignProperties_To_BastionHost(destination *v1api20220701s.BastionHost) error { + + // ObjectMeta + destination.ObjectMeta = *host.ObjectMeta.DeepCopy() + + // Spec + var spec v1api20220701s.BastionHost_Spec + err := host.Spec.AssignProperties_To_BastionHost_Spec(&spec) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_To_BastionHost_Spec() to populate field Spec") + } + destination.Spec = spec + + // Status + var status v1api20220701s.BastionHost_STATUS + err = host.Status.AssignProperties_To_BastionHost_STATUS(&status) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_To_BastionHost_STATUS() to populate field Status") + } + destination.Status = status + + // No error + return nil +} + +// OriginalGVK returns a GroupValueKind for the original API version used to create the resource +func (host *BastionHost) OriginalGVK() *schema.GroupVersionKind { + return &schema.GroupVersionKind{ + Group: GroupVersion.Group, + Version: host.Spec.OriginalVersion(), + Kind: "BastionHost", + } +} + +// +kubebuilder:object:root=true +// Generator information: +// - Generated from: /network/resource-manager/Microsoft.Network/stable/2022-07-01/bastionHost.json +// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName} +type BastionHostList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []BastionHost `json:"items"` +} + +// +kubebuilder:validation:Enum={"2022-07-01"} +type APIVersion string + +const APIVersion_Value = APIVersion("2022-07-01") + +type BastionHost_Spec struct { + // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it + // doesn't have to be. + AzureName string `json:"azureName,omitempty"` + + // DisableCopyPaste: Enable/Disable Copy/Paste feature of the Bastion Host resource. + DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` + + // DnsName: FQDN for the endpoint on which bastion host is accessible. + DnsName *string `json:"dnsName,omitempty"` + + // EnableFileCopy: Enable/Disable File Copy feature of the Bastion Host resource. + EnableFileCopy *bool `json:"enableFileCopy,omitempty"` + + // EnableIpConnect: Enable/Disable IP Connect feature of the Bastion Host resource. + EnableIpConnect *bool `json:"enableIpConnect,omitempty"` + + // EnableShareableLink: Enable/Disable Shareable Link of the Bastion Host resource. + EnableShareableLink *bool `json:"enableShareableLink,omitempty"` + + // EnableTunneling: Enable/Disable Tunneling feature of the Bastion Host resource. + EnableTunneling *bool `json:"enableTunneling,omitempty"` + + // IpConfigurations: IP configuration of the Bastion Host resource. + IpConfigurations []BastionHostIPConfiguration `json:"ipConfigurations,omitempty"` + + // Location: Resource location. + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also + // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a + // reference to a resources.azure.com/ResourceGroup resource + Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"` + + // +kubebuilder:validation:Maximum=50 + // +kubebuilder:validation:Minimum=2 + // ScaleUnits: The scale units for the Bastion Host resource. + ScaleUnits *int `json:"scaleUnits,omitempty"` + + // Sku: The sku of this Bastion Host. + Sku *Sku `json:"sku,omitempty"` + + // Tags: Resource tags. + Tags map[string]string `json:"tags,omitempty"` +} + +var _ genruntime.ARMTransformer = &BastionHost_Spec{} + +// ConvertToARM converts from a Kubernetes CRD object to an ARM object +func (host *BastionHost_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) { + if host == nil { + return nil, nil + } + result := &BastionHost_Spec_ARM{} + + // Set property ‘Location’: + if host.Location != nil { + location := *host.Location + result.Location = &location + } + + // Set property ‘Name’: + result.Name = resolved.Name + + // Set property ‘Properties’: + if host.DisableCopyPaste != nil || + host.DnsName != nil || + host.EnableFileCopy != nil || + host.EnableIpConnect != nil || + host.EnableShareableLink != nil || + host.EnableTunneling != nil || + host.IpConfigurations != nil || + host.ScaleUnits != nil { + result.Properties = &BastionHostPropertiesFormat_ARM{} + } + if host.DisableCopyPaste != nil { + disableCopyPaste := *host.DisableCopyPaste + result.Properties.DisableCopyPaste = &disableCopyPaste + } + if host.DnsName != nil { + dnsName := *host.DnsName + result.Properties.DnsName = &dnsName + } + if host.EnableFileCopy != nil { + enableFileCopy := *host.EnableFileCopy + result.Properties.EnableFileCopy = &enableFileCopy + } + if host.EnableIpConnect != nil { + enableIpConnect := *host.EnableIpConnect + result.Properties.EnableIpConnect = &enableIpConnect + } + if host.EnableShareableLink != nil { + enableShareableLink := *host.EnableShareableLink + result.Properties.EnableShareableLink = &enableShareableLink + } + if host.EnableTunneling != nil { + enableTunneling := *host.EnableTunneling + result.Properties.EnableTunneling = &enableTunneling + } + for _, item := range host.IpConfigurations { + item_ARM, err := item.ConvertToARM(resolved) + if err != nil { + return nil, err + } + result.Properties.IpConfigurations = append(result.Properties.IpConfigurations, *item_ARM.(*BastionHostIPConfiguration_ARM)) + } + if host.ScaleUnits != nil { + scaleUnits := *host.ScaleUnits + result.Properties.ScaleUnits = &scaleUnits + } + + // Set property ‘Sku’: + if host.Sku != nil { + sku_ARM, err := (*host.Sku).ConvertToARM(resolved) + if err != nil { + return nil, err + } + sku := *sku_ARM.(*Sku_ARM) + result.Sku = &sku + } + + // Set property ‘Tags’: + if host.Tags != nil { + result.Tags = make(map[string]string, len(host.Tags)) + for key, value := range host.Tags { + result.Tags[key] = value + } + } + return result, nil +} + +// NewEmptyARMValue returns an empty ARM value suitable for deserializing into +func (host *BastionHost_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus { + return &BastionHost_Spec_ARM{} +} + +// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object +func (host *BastionHost_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error { + typedInput, ok := armInput.(BastionHost_Spec_ARM) + if !ok { + return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected BastionHost_Spec_ARM, got %T", armInput) + } + + // Set property ‘AzureName’: + host.SetAzureName(genruntime.ExtractKubernetesResourceNameFromARMName(typedInput.Name)) + + // Set property ‘DisableCopyPaste’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.DisableCopyPaste != nil { + disableCopyPaste := *typedInput.Properties.DisableCopyPaste + host.DisableCopyPaste = &disableCopyPaste + } + } + + // Set property ‘DnsName’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.DnsName != nil { + dnsName := *typedInput.Properties.DnsName + host.DnsName = &dnsName + } + } + + // Set property ‘EnableFileCopy’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.EnableFileCopy != nil { + enableFileCopy := *typedInput.Properties.EnableFileCopy + host.EnableFileCopy = &enableFileCopy + } + } + + // Set property ‘EnableIpConnect’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.EnableIpConnect != nil { + enableIpConnect := *typedInput.Properties.EnableIpConnect + host.EnableIpConnect = &enableIpConnect + } + } + + // Set property ‘EnableShareableLink’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.EnableShareableLink != nil { + enableShareableLink := *typedInput.Properties.EnableShareableLink + host.EnableShareableLink = &enableShareableLink + } + } + + // Set property ‘EnableTunneling’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.EnableTunneling != nil { + enableTunneling := *typedInput.Properties.EnableTunneling + host.EnableTunneling = &enableTunneling + } + } + + // Set property ‘IpConfigurations’: + // copying flattened property: + if typedInput.Properties != nil { + for _, item := range typedInput.Properties.IpConfigurations { + var item1 BastionHostIPConfiguration + err := item1.PopulateFromARM(owner, item) + if err != nil { + return err + } + host.IpConfigurations = append(host.IpConfigurations, item1) + } + } + + // Set property ‘Location’: + if typedInput.Location != nil { + location := *typedInput.Location + host.Location = &location + } + + // Set property ‘Owner’: + host.Owner = &genruntime.KnownResourceReference{Name: owner.Name} + + // Set property ‘ScaleUnits’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.ScaleUnits != nil { + scaleUnits := *typedInput.Properties.ScaleUnits + host.ScaleUnits = &scaleUnits + } + } + + // Set property ‘Sku’: + if typedInput.Sku != nil { + var sku1 Sku + err := sku1.PopulateFromARM(owner, *typedInput.Sku) + if err != nil { + return err + } + sku := sku1 + host.Sku = &sku + } + + // Set property ‘Tags’: + if typedInput.Tags != nil { + host.Tags = make(map[string]string, len(typedInput.Tags)) + for key, value := range typedInput.Tags { + host.Tags[key] = value + } + } + + // No error + return nil +} + +var _ genruntime.ConvertibleSpec = &BastionHost_Spec{} + +// ConvertSpecFrom populates our BastionHost_Spec from the provided source +func (host *BastionHost_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error { + src, ok := source.(*v1api20220701s.BastionHost_Spec) + if ok { + // Populate our instance from source + return host.AssignProperties_From_BastionHost_Spec(src) + } + + // Convert to an intermediate form + src = &v1api20220701s.BastionHost_Spec{} + err := src.ConvertSpecFrom(source) + if err != nil { + return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()") + } + + // Update our instance from src + err = host.AssignProperties_From_BastionHost_Spec(src) + if err != nil { + return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()") + } + + return nil +} + +// ConvertSpecTo populates the provided destination from our BastionHost_Spec +func (host *BastionHost_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error { + dst, ok := destination.(*v1api20220701s.BastionHost_Spec) + if ok { + // Populate destination from our instance + return host.AssignProperties_To_BastionHost_Spec(dst) + } + + // Convert to an intermediate form + dst = &v1api20220701s.BastionHost_Spec{} + err := host.AssignProperties_To_BastionHost_Spec(dst) + if err != nil { + return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()") + } + + // Update dst from our instance + err = dst.ConvertSpecTo(destination) + if err != nil { + return errors.Wrap(err, "final step of conversion in ConvertSpecTo()") + } + + return nil +} + +// AssignProperties_From_BastionHost_Spec populates our BastionHost_Spec from the provided source BastionHost_Spec +func (host *BastionHost_Spec) AssignProperties_From_BastionHost_Spec(source *v1api20220701s.BastionHost_Spec) error { + + // AzureName + host.AzureName = source.AzureName + + // DisableCopyPaste + if source.DisableCopyPaste != nil { + disableCopyPaste := *source.DisableCopyPaste + host.DisableCopyPaste = &disableCopyPaste + } else { + host.DisableCopyPaste = nil + } + + // DnsName + host.DnsName = genruntime.ClonePointerToString(source.DnsName) + + // EnableFileCopy + if source.EnableFileCopy != nil { + enableFileCopy := *source.EnableFileCopy + host.EnableFileCopy = &enableFileCopy + } else { + host.EnableFileCopy = nil + } + + // EnableIpConnect + if source.EnableIpConnect != nil { + enableIpConnect := *source.EnableIpConnect + host.EnableIpConnect = &enableIpConnect + } else { + host.EnableIpConnect = nil + } + + // EnableShareableLink + if source.EnableShareableLink != nil { + enableShareableLink := *source.EnableShareableLink + host.EnableShareableLink = &enableShareableLink + } else { + host.EnableShareableLink = nil + } + + // EnableTunneling + if source.EnableTunneling != nil { + enableTunneling := *source.EnableTunneling + host.EnableTunneling = &enableTunneling + } else { + host.EnableTunneling = nil + } + + // IpConfigurations + if source.IpConfigurations != nil { + ipConfigurationList := make([]BastionHostIPConfiguration, len(source.IpConfigurations)) + for ipConfigurationIndex, ipConfigurationItem := range source.IpConfigurations { + // Shadow the loop variable to avoid aliasing + ipConfigurationItem := ipConfigurationItem + var ipConfiguration BastionHostIPConfiguration + err := ipConfiguration.AssignProperties_From_BastionHostIPConfiguration(&ipConfigurationItem) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_From_BastionHostIPConfiguration() to populate field IpConfigurations") + } + ipConfigurationList[ipConfigurationIndex] = ipConfiguration + } + host.IpConfigurations = ipConfigurationList + } else { + host.IpConfigurations = nil + } + + // Location + host.Location = genruntime.ClonePointerToString(source.Location) + + // Owner + if source.Owner != nil { + owner := source.Owner.Copy() + host.Owner = &owner + } else { + host.Owner = nil + } + + // ScaleUnits + if source.ScaleUnits != nil { + scaleUnit := *source.ScaleUnits + host.ScaleUnits = &scaleUnit + } else { + host.ScaleUnits = nil + } + + // Sku + if source.Sku != nil { + var sku Sku + err := sku.AssignProperties_From_Sku(source.Sku) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_From_Sku() to populate field Sku") + } + host.Sku = &sku + } else { + host.Sku = nil + } + + // Tags + host.Tags = genruntime.CloneMapOfStringToString(source.Tags) + + // No error + return nil +} + +// AssignProperties_To_BastionHost_Spec populates the provided destination BastionHost_Spec from our BastionHost_Spec +func (host *BastionHost_Spec) AssignProperties_To_BastionHost_Spec(destination *v1api20220701s.BastionHost_Spec) error { + // Create a new property bag + propertyBag := genruntime.NewPropertyBag() + + // AzureName + destination.AzureName = host.AzureName + + // DisableCopyPaste + if host.DisableCopyPaste != nil { + disableCopyPaste := *host.DisableCopyPaste + destination.DisableCopyPaste = &disableCopyPaste + } else { + destination.DisableCopyPaste = nil + } + + // DnsName + destination.DnsName = genruntime.ClonePointerToString(host.DnsName) + + // EnableFileCopy + if host.EnableFileCopy != nil { + enableFileCopy := *host.EnableFileCopy + destination.EnableFileCopy = &enableFileCopy + } else { + destination.EnableFileCopy = nil + } + + // EnableIpConnect + if host.EnableIpConnect != nil { + enableIpConnect := *host.EnableIpConnect + destination.EnableIpConnect = &enableIpConnect + } else { + destination.EnableIpConnect = nil + } + + // EnableShareableLink + if host.EnableShareableLink != nil { + enableShareableLink := *host.EnableShareableLink + destination.EnableShareableLink = &enableShareableLink + } else { + destination.EnableShareableLink = nil + } + + // EnableTunneling + if host.EnableTunneling != nil { + enableTunneling := *host.EnableTunneling + destination.EnableTunneling = &enableTunneling + } else { + destination.EnableTunneling = nil + } + + // IpConfigurations + if host.IpConfigurations != nil { + ipConfigurationList := make([]v1api20220701s.BastionHostIPConfiguration, len(host.IpConfigurations)) + for ipConfigurationIndex, ipConfigurationItem := range host.IpConfigurations { + // Shadow the loop variable to avoid aliasing + ipConfigurationItem := ipConfigurationItem + var ipConfiguration v1api20220701s.BastionHostIPConfiguration + err := ipConfigurationItem.AssignProperties_To_BastionHostIPConfiguration(&ipConfiguration) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_To_BastionHostIPConfiguration() to populate field IpConfigurations") + } + ipConfigurationList[ipConfigurationIndex] = ipConfiguration + } + destination.IpConfigurations = ipConfigurationList + } else { + destination.IpConfigurations = nil + } + + // Location + destination.Location = genruntime.ClonePointerToString(host.Location) + + // OriginalVersion + destination.OriginalVersion = host.OriginalVersion() + + // Owner + if host.Owner != nil { + owner := host.Owner.Copy() + destination.Owner = &owner + } else { + destination.Owner = nil + } + + // ScaleUnits + if host.ScaleUnits != nil { + scaleUnit := *host.ScaleUnits + destination.ScaleUnits = &scaleUnit + } else { + destination.ScaleUnits = nil + } + + // Sku + if host.Sku != nil { + var sku v1api20220701s.Sku + err := host.Sku.AssignProperties_To_Sku(&sku) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_To_Sku() to populate field Sku") + } + destination.Sku = &sku + } else { + destination.Sku = nil + } + + // Tags + destination.Tags = genruntime.CloneMapOfStringToString(host.Tags) + + // Update the property bag + if len(propertyBag) > 0 { + destination.PropertyBag = propertyBag + } else { + destination.PropertyBag = nil + } + + // No error + return nil +} + +// Initialize_From_BastionHost_STATUS populates our BastionHost_Spec from the provided source BastionHost_STATUS +func (host *BastionHost_Spec) Initialize_From_BastionHost_STATUS(source *BastionHost_STATUS) error { + + // DisableCopyPaste + if source.DisableCopyPaste != nil { + disableCopyPaste := *source.DisableCopyPaste + host.DisableCopyPaste = &disableCopyPaste + } else { + host.DisableCopyPaste = nil + } + + // DnsName + host.DnsName = genruntime.ClonePointerToString(source.DnsName) + + // EnableFileCopy + if source.EnableFileCopy != nil { + enableFileCopy := *source.EnableFileCopy + host.EnableFileCopy = &enableFileCopy + } else { + host.EnableFileCopy = nil + } + + // EnableIpConnect + if source.EnableIpConnect != nil { + enableIpConnect := *source.EnableIpConnect + host.EnableIpConnect = &enableIpConnect + } else { + host.EnableIpConnect = nil + } + + // EnableShareableLink + if source.EnableShareableLink != nil { + enableShareableLink := *source.EnableShareableLink + host.EnableShareableLink = &enableShareableLink + } else { + host.EnableShareableLink = nil + } + + // EnableTunneling + if source.EnableTunneling != nil { + enableTunneling := *source.EnableTunneling + host.EnableTunneling = &enableTunneling + } else { + host.EnableTunneling = nil + } + + // IpConfigurations + if source.IpConfigurations != nil { + ipConfigurationList := make([]BastionHostIPConfiguration, len(source.IpConfigurations)) + for ipConfigurationIndex, ipConfigurationItem := range source.IpConfigurations { + // Shadow the loop variable to avoid aliasing + ipConfigurationItem := ipConfigurationItem + var ipConfiguration BastionHostIPConfiguration + err := ipConfiguration.Initialize_From_BastionHostIPConfiguration_STATUS(&ipConfigurationItem) + if err != nil { + return errors.Wrap(err, "calling Initialize_From_BastionHostIPConfiguration_STATUS() to populate field IpConfigurations") + } + ipConfigurationList[ipConfigurationIndex] = ipConfiguration + } + host.IpConfigurations = ipConfigurationList + } else { + host.IpConfigurations = nil + } + + // Location + host.Location = genruntime.ClonePointerToString(source.Location) + + // ScaleUnits + if source.ScaleUnits != nil { + scaleUnit := *source.ScaleUnits + host.ScaleUnits = &scaleUnit + } else { + host.ScaleUnits = nil + } + + // Sku + if source.Sku != nil { + var sku Sku + err := sku.Initialize_From_Sku_STATUS(source.Sku) + if err != nil { + return errors.Wrap(err, "calling Initialize_From_Sku_STATUS() to populate field Sku") + } + host.Sku = &sku + } else { + host.Sku = nil + } + + // Tags + host.Tags = genruntime.CloneMapOfStringToString(source.Tags) + + // No error + return nil +} + +// OriginalVersion returns the original API version used to create the resource. +func (host *BastionHost_Spec) OriginalVersion() string { + return GroupVersion.Version +} + +// SetAzureName sets the Azure name of the resource +func (host *BastionHost_Spec) SetAzureName(azureName string) { host.AzureName = azureName } + +// Bastion Host resource. +type BastionHost_STATUS struct { + // Conditions: The observed state of the resource + Conditions []conditions.Condition `json:"conditions,omitempty"` + + // DisableCopyPaste: Enable/Disable Copy/Paste feature of the Bastion Host resource. + DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` + + // DnsName: FQDN for the endpoint on which bastion host is accessible. + DnsName *string `json:"dnsName,omitempty"` + + // EnableFileCopy: Enable/Disable File Copy feature of the Bastion Host resource. + EnableFileCopy *bool `json:"enableFileCopy,omitempty"` + + // EnableIpConnect: Enable/Disable IP Connect feature of the Bastion Host resource. + EnableIpConnect *bool `json:"enableIpConnect,omitempty"` + + // EnableShareableLink: Enable/Disable Shareable Link of the Bastion Host resource. + EnableShareableLink *bool `json:"enableShareableLink,omitempty"` + + // EnableTunneling: Enable/Disable Tunneling feature of the Bastion Host resource. + EnableTunneling *bool `json:"enableTunneling,omitempty"` + + // Etag: A unique read-only string that changes whenever the resource is updated. + Etag *string `json:"etag,omitempty"` + + // Id: Resource ID. + Id *string `json:"id,omitempty"` + + // IpConfigurations: IP configuration of the Bastion Host resource. + IpConfigurations []BastionHostIPConfiguration_STATUS `json:"ipConfigurations,omitempty"` + + // Location: Resource location. + Location *string `json:"location,omitempty"` + + // Name: Resource name. + Name *string `json:"name,omitempty"` + + // ProvisioningState: The provisioning state of the bastion host resource. + ProvisioningState *BastionHostProvisioningState_STATUS `json:"provisioningState,omitempty"` + + // ScaleUnits: The scale units for the Bastion Host resource. + ScaleUnits *int `json:"scaleUnits,omitempty"` + + // Sku: The sku of this Bastion Host. + Sku *Sku_STATUS `json:"sku,omitempty"` + + // Tags: Resource tags. + Tags map[string]string `json:"tags,omitempty"` + + // Type: Resource type. + Type *string `json:"type,omitempty"` +} + +var _ genruntime.ConvertibleStatus = &BastionHost_STATUS{} + +// ConvertStatusFrom populates our BastionHost_STATUS from the provided source +func (host *BastionHost_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error { + src, ok := source.(*v1api20220701s.BastionHost_STATUS) + if ok { + // Populate our instance from source + return host.AssignProperties_From_BastionHost_STATUS(src) + } + + // Convert to an intermediate form + src = &v1api20220701s.BastionHost_STATUS{} + err := src.ConvertStatusFrom(source) + if err != nil { + return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()") + } + + // Update our instance from src + err = host.AssignProperties_From_BastionHost_STATUS(src) + if err != nil { + return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()") + } + + return nil +} + +// ConvertStatusTo populates the provided destination from our BastionHost_STATUS +func (host *BastionHost_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error { + dst, ok := destination.(*v1api20220701s.BastionHost_STATUS) + if ok { + // Populate destination from our instance + return host.AssignProperties_To_BastionHost_STATUS(dst) + } + + // Convert to an intermediate form + dst = &v1api20220701s.BastionHost_STATUS{} + err := host.AssignProperties_To_BastionHost_STATUS(dst) + if err != nil { + return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()") + } + + // Update dst from our instance + err = dst.ConvertStatusTo(destination) + if err != nil { + return errors.Wrap(err, "final step of conversion in ConvertStatusTo()") + } + + return nil +} + +var _ genruntime.FromARMConverter = &BastionHost_STATUS{} + +// NewEmptyARMValue returns an empty ARM value suitable for deserializing into +func (host *BastionHost_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus { + return &BastionHost_STATUS_ARM{} +} + +// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object +func (host *BastionHost_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error { + typedInput, ok := armInput.(BastionHost_STATUS_ARM) + if !ok { + return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected BastionHost_STATUS_ARM, got %T", armInput) + } + + // no assignment for property ‘Conditions’ + + // Set property ‘DisableCopyPaste’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.DisableCopyPaste != nil { + disableCopyPaste := *typedInput.Properties.DisableCopyPaste + host.DisableCopyPaste = &disableCopyPaste + } + } + + // Set property ‘DnsName’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.DnsName != nil { + dnsName := *typedInput.Properties.DnsName + host.DnsName = &dnsName + } + } + + // Set property ‘EnableFileCopy’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.EnableFileCopy != nil { + enableFileCopy := *typedInput.Properties.EnableFileCopy + host.EnableFileCopy = &enableFileCopy + } + } + + // Set property ‘EnableIpConnect’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.EnableIpConnect != nil { + enableIpConnect := *typedInput.Properties.EnableIpConnect + host.EnableIpConnect = &enableIpConnect + } + } + + // Set property ‘EnableShareableLink’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.EnableShareableLink != nil { + enableShareableLink := *typedInput.Properties.EnableShareableLink + host.EnableShareableLink = &enableShareableLink + } + } + + // Set property ‘EnableTunneling’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.EnableTunneling != nil { + enableTunneling := *typedInput.Properties.EnableTunneling + host.EnableTunneling = &enableTunneling + } + } + + // Set property ‘Etag’: + if typedInput.Etag != nil { + etag := *typedInput.Etag + host.Etag = &etag + } + + // Set property ‘Id’: + if typedInput.Id != nil { + id := *typedInput.Id + host.Id = &id + } + + // Set property ‘IpConfigurations’: + // copying flattened property: + if typedInput.Properties != nil { + for _, item := range typedInput.Properties.IpConfigurations { + var item1 BastionHostIPConfiguration_STATUS + err := item1.PopulateFromARM(owner, item) + if err != nil { + return err + } + host.IpConfigurations = append(host.IpConfigurations, item1) + } + } + + // Set property ‘Location’: + if typedInput.Location != nil { + location := *typedInput.Location + host.Location = &location + } + + // Set property ‘Name’: + if typedInput.Name != nil { + name := *typedInput.Name + host.Name = &name + } + + // Set property ‘ProvisioningState’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.ProvisioningState != nil { + provisioningState := *typedInput.Properties.ProvisioningState + host.ProvisioningState = &provisioningState + } + } + + // Set property ‘ScaleUnits’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.ScaleUnits != nil { + scaleUnits := *typedInput.Properties.ScaleUnits + host.ScaleUnits = &scaleUnits + } + } + + // Set property ‘Sku’: + if typedInput.Sku != nil { + var sku1 Sku_STATUS + err := sku1.PopulateFromARM(owner, *typedInput.Sku) + if err != nil { + return err + } + sku := sku1 + host.Sku = &sku + } + + // Set property ‘Tags’: + if typedInput.Tags != nil { + host.Tags = make(map[string]string, len(typedInput.Tags)) + for key, value := range typedInput.Tags { + host.Tags[key] = value + } + } + + // Set property ‘Type’: + if typedInput.Type != nil { + typeVar := *typedInput.Type + host.Type = &typeVar + } + + // No error + return nil +} + +// AssignProperties_From_BastionHost_STATUS populates our BastionHost_STATUS from the provided source BastionHost_STATUS +func (host *BastionHost_STATUS) AssignProperties_From_BastionHost_STATUS(source *v1api20220701s.BastionHost_STATUS) error { + + // Conditions + host.Conditions = genruntime.CloneSliceOfCondition(source.Conditions) + + // DisableCopyPaste + if source.DisableCopyPaste != nil { + disableCopyPaste := *source.DisableCopyPaste + host.DisableCopyPaste = &disableCopyPaste + } else { + host.DisableCopyPaste = nil + } + + // DnsName + host.DnsName = genruntime.ClonePointerToString(source.DnsName) + + // EnableFileCopy + if source.EnableFileCopy != nil { + enableFileCopy := *source.EnableFileCopy + host.EnableFileCopy = &enableFileCopy + } else { + host.EnableFileCopy = nil + } + + // EnableIpConnect + if source.EnableIpConnect != nil { + enableIpConnect := *source.EnableIpConnect + host.EnableIpConnect = &enableIpConnect + } else { + host.EnableIpConnect = nil + } + + // EnableShareableLink + if source.EnableShareableLink != nil { + enableShareableLink := *source.EnableShareableLink + host.EnableShareableLink = &enableShareableLink + } else { + host.EnableShareableLink = nil + } + + // EnableTunneling + if source.EnableTunneling != nil { + enableTunneling := *source.EnableTunneling + host.EnableTunneling = &enableTunneling + } else { + host.EnableTunneling = nil + } + + // Etag + host.Etag = genruntime.ClonePointerToString(source.Etag) + + // Id + host.Id = genruntime.ClonePointerToString(source.Id) + + // IpConfigurations + if source.IpConfigurations != nil { + ipConfigurationList := make([]BastionHostIPConfiguration_STATUS, len(source.IpConfigurations)) + for ipConfigurationIndex, ipConfigurationItem := range source.IpConfigurations { + // Shadow the loop variable to avoid aliasing + ipConfigurationItem := ipConfigurationItem + var ipConfiguration BastionHostIPConfiguration_STATUS + err := ipConfiguration.AssignProperties_From_BastionHostIPConfiguration_STATUS(&ipConfigurationItem) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_From_BastionHostIPConfiguration_STATUS() to populate field IpConfigurations") + } + ipConfigurationList[ipConfigurationIndex] = ipConfiguration + } + host.IpConfigurations = ipConfigurationList + } else { + host.IpConfigurations = nil + } + + // Location + host.Location = genruntime.ClonePointerToString(source.Location) + + // Name + host.Name = genruntime.ClonePointerToString(source.Name) + + // ProvisioningState + if source.ProvisioningState != nil { + provisioningState := BastionHostProvisioningState_STATUS(*source.ProvisioningState) + host.ProvisioningState = &provisioningState + } else { + host.ProvisioningState = nil + } + + // ScaleUnits + host.ScaleUnits = genruntime.ClonePointerToInt(source.ScaleUnits) + + // Sku + if source.Sku != nil { + var sku Sku_STATUS + err := sku.AssignProperties_From_Sku_STATUS(source.Sku) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_From_Sku_STATUS() to populate field Sku") + } + host.Sku = &sku + } else { + host.Sku = nil + } + + // Tags + host.Tags = genruntime.CloneMapOfStringToString(source.Tags) + + // Type + host.Type = genruntime.ClonePointerToString(source.Type) + + // No error + return nil +} + +// AssignProperties_To_BastionHost_STATUS populates the provided destination BastionHost_STATUS from our BastionHost_STATUS +func (host *BastionHost_STATUS) AssignProperties_To_BastionHost_STATUS(destination *v1api20220701s.BastionHost_STATUS) error { + // Create a new property bag + propertyBag := genruntime.NewPropertyBag() + + // Conditions + destination.Conditions = genruntime.CloneSliceOfCondition(host.Conditions) + + // DisableCopyPaste + if host.DisableCopyPaste != nil { + disableCopyPaste := *host.DisableCopyPaste + destination.DisableCopyPaste = &disableCopyPaste + } else { + destination.DisableCopyPaste = nil + } + + // DnsName + destination.DnsName = genruntime.ClonePointerToString(host.DnsName) + + // EnableFileCopy + if host.EnableFileCopy != nil { + enableFileCopy := *host.EnableFileCopy + destination.EnableFileCopy = &enableFileCopy + } else { + destination.EnableFileCopy = nil + } + + // EnableIpConnect + if host.EnableIpConnect != nil { + enableIpConnect := *host.EnableIpConnect + destination.EnableIpConnect = &enableIpConnect + } else { + destination.EnableIpConnect = nil + } + + // EnableShareableLink + if host.EnableShareableLink != nil { + enableShareableLink := *host.EnableShareableLink + destination.EnableShareableLink = &enableShareableLink + } else { + destination.EnableShareableLink = nil + } + + // EnableTunneling + if host.EnableTunneling != nil { + enableTunneling := *host.EnableTunneling + destination.EnableTunneling = &enableTunneling + } else { + destination.EnableTunneling = nil + } + + // Etag + destination.Etag = genruntime.ClonePointerToString(host.Etag) + + // Id + destination.Id = genruntime.ClonePointerToString(host.Id) + + // IpConfigurations + if host.IpConfigurations != nil { + ipConfigurationList := make([]v1api20220701s.BastionHostIPConfiguration_STATUS, len(host.IpConfigurations)) + for ipConfigurationIndex, ipConfigurationItem := range host.IpConfigurations { + // Shadow the loop variable to avoid aliasing + ipConfigurationItem := ipConfigurationItem + var ipConfiguration v1api20220701s.BastionHostIPConfiguration_STATUS + err := ipConfigurationItem.AssignProperties_To_BastionHostIPConfiguration_STATUS(&ipConfiguration) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_To_BastionHostIPConfiguration_STATUS() to populate field IpConfigurations") + } + ipConfigurationList[ipConfigurationIndex] = ipConfiguration + } + destination.IpConfigurations = ipConfigurationList + } else { + destination.IpConfigurations = nil + } + + // Location + destination.Location = genruntime.ClonePointerToString(host.Location) + + // Name + destination.Name = genruntime.ClonePointerToString(host.Name) + + // ProvisioningState + if host.ProvisioningState != nil { + provisioningState := string(*host.ProvisioningState) + destination.ProvisioningState = &provisioningState + } else { + destination.ProvisioningState = nil + } + + // ScaleUnits + destination.ScaleUnits = genruntime.ClonePointerToInt(host.ScaleUnits) + + // Sku + if host.Sku != nil { + var sku v1api20220701s.Sku_STATUS + err := host.Sku.AssignProperties_To_Sku_STATUS(&sku) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_To_Sku_STATUS() to populate field Sku") + } + destination.Sku = &sku + } else { + destination.Sku = nil + } + + // Tags + destination.Tags = genruntime.CloneMapOfStringToString(host.Tags) + + // Type + destination.Type = genruntime.ClonePointerToString(host.Type) + + // Update the property bag + if len(propertyBag) > 0 { + destination.PropertyBag = propertyBag + } else { + destination.PropertyBag = nil + } + + // No error + return nil +} + +// IP configuration of an Bastion Host. +type BastionHostIPConfiguration struct { + // Name: Name of the resource that is unique within a resource group. This name can be used to access the resource. + Name *string `json:"name,omitempty"` + + // PrivateIPAllocationMethod: Private IP allocation method. + PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + + // +kubebuilder:validation:Required + // PublicIPAddress: Reference of the PublicIP resource. + PublicIPAddress *BastionHostSubResource `json:"publicIPAddress,omitempty"` + + // +kubebuilder:validation:Required + // Subnet: Reference of the subnet resource. + Subnet *BastionHostSubResource `json:"subnet,omitempty"` +} + +var _ genruntime.ARMTransformer = &BastionHostIPConfiguration{} + +// ConvertToARM converts from a Kubernetes CRD object to an ARM object +func (configuration *BastionHostIPConfiguration) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) { + if configuration == nil { + return nil, nil + } + result := &BastionHostIPConfiguration_ARM{} + + // Set property ‘Name’: + if configuration.Name != nil { + name := *configuration.Name + result.Name = &name + } + + // Set property ‘Properties’: + if configuration.PrivateIPAllocationMethod != nil || + configuration.PublicIPAddress != nil || + configuration.Subnet != nil { + result.Properties = &BastionHostIPConfigurationPropertiesFormat_ARM{} + } + if configuration.PrivateIPAllocationMethod != nil { + privateIPAllocationMethod := *configuration.PrivateIPAllocationMethod + result.Properties.PrivateIPAllocationMethod = &privateIPAllocationMethod + } + if configuration.PublicIPAddress != nil { + publicIPAddress_ARM, err := (*configuration.PublicIPAddress).ConvertToARM(resolved) + if err != nil { + return nil, err + } + publicIPAddress := *publicIPAddress_ARM.(*BastionHostSubResource_ARM) + result.Properties.PublicIPAddress = &publicIPAddress + } + if configuration.Subnet != nil { + subnet_ARM, err := (*configuration.Subnet).ConvertToARM(resolved) + if err != nil { + return nil, err + } + subnet := *subnet_ARM.(*BastionHostSubResource_ARM) + result.Properties.Subnet = &subnet + } + return result, nil +} + +// NewEmptyARMValue returns an empty ARM value suitable for deserializing into +func (configuration *BastionHostIPConfiguration) NewEmptyARMValue() genruntime.ARMResourceStatus { + return &BastionHostIPConfiguration_ARM{} +} + +// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object +func (configuration *BastionHostIPConfiguration) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error { + typedInput, ok := armInput.(BastionHostIPConfiguration_ARM) + if !ok { + return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected BastionHostIPConfiguration_ARM, got %T", armInput) + } + + // Set property ‘Name’: + if typedInput.Name != nil { + name := *typedInput.Name + configuration.Name = &name + } + + // Set property ‘PrivateIPAllocationMethod’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.PrivateIPAllocationMethod != nil { + privateIPAllocationMethod := *typedInput.Properties.PrivateIPAllocationMethod + configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod + } + } + + // Set property ‘PublicIPAddress’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.PublicIPAddress != nil { + var publicIPAddress1 BastionHostSubResource + err := publicIPAddress1.PopulateFromARM(owner, *typedInput.Properties.PublicIPAddress) + if err != nil { + return err + } + publicIPAddress := publicIPAddress1 + configuration.PublicIPAddress = &publicIPAddress + } + } + + // Set property ‘Subnet’: + // copying flattened property: + if typedInput.Properties != nil { + if typedInput.Properties.Subnet != nil { + var subnet1 BastionHostSubResource + err := subnet1.PopulateFromARM(owner, *typedInput.Properties.Subnet) + if err != nil { + return err + } + subnet := subnet1 + configuration.Subnet = &subnet + } + } + + // No error + return nil +} + +// AssignProperties_From_BastionHostIPConfiguration populates our BastionHostIPConfiguration from the provided source BastionHostIPConfiguration +func (configuration *BastionHostIPConfiguration) AssignProperties_From_BastionHostIPConfiguration(source *v1api20220701s.BastionHostIPConfiguration) error { + + // Name + configuration.Name = genruntime.ClonePointerToString(source.Name) + + // PrivateIPAllocationMethod + if source.PrivateIPAllocationMethod != nil { + privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod) + configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod + } else { + configuration.PrivateIPAllocationMethod = nil + } + + // PublicIPAddress + if source.PublicIPAddress != nil { + var publicIPAddress BastionHostSubResource + err := publicIPAddress.AssignProperties_From_BastionHostSubResource(source.PublicIPAddress) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_From_BastionHostSubResource() to populate field PublicIPAddress") + } + configuration.PublicIPAddress = &publicIPAddress + } else { + configuration.PublicIPAddress = nil + } + + // Subnet + if source.Subnet != nil { + var subnet BastionHostSubResource + err := subnet.AssignProperties_From_BastionHostSubResource(source.Subnet) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_From_BastionHostSubResource() to populate field Subnet") + } + configuration.Subnet = &subnet + } else { + configuration.Subnet = nil + } + + // No error + return nil +} + +// AssignProperties_To_BastionHostIPConfiguration populates the provided destination BastionHostIPConfiguration from our BastionHostIPConfiguration +func (configuration *BastionHostIPConfiguration) AssignProperties_To_BastionHostIPConfiguration(destination *v1api20220701s.BastionHostIPConfiguration) error { + // Create a new property bag + propertyBag := genruntime.NewPropertyBag() + + // Name + destination.Name = genruntime.ClonePointerToString(configuration.Name) + + // PrivateIPAllocationMethod + if configuration.PrivateIPAllocationMethod != nil { + privateIPAllocationMethod := string(*configuration.PrivateIPAllocationMethod) + destination.PrivateIPAllocationMethod = &privateIPAllocationMethod + } else { + destination.PrivateIPAllocationMethod = nil + } + + // PublicIPAddress + if configuration.PublicIPAddress != nil { + var publicIPAddress v1api20220701s.BastionHostSubResource + err := configuration.PublicIPAddress.AssignProperties_To_BastionHostSubResource(&publicIPAddress) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_To_BastionHostSubResource() to populate field PublicIPAddress") + } + destination.PublicIPAddress = &publicIPAddress + } else { + destination.PublicIPAddress = nil + } + + // Subnet + if configuration.Subnet != nil { + var subnet v1api20220701s.BastionHostSubResource + err := configuration.Subnet.AssignProperties_To_BastionHostSubResource(&subnet) + if err != nil { + return errors.Wrap(err, "calling AssignProperties_To_BastionHostSubResource() to populate field Subnet") + } + destination.Subnet = &subnet + } else { + destination.Subnet = nil + } + + // Update the property bag + if len(propertyBag) > 0 { + destination.PropertyBag = propertyBag + } else { + destination.PropertyBag = nil + } + + // No error + return nil +} + +// Initialize_From_BastionHostIPConfiguration_STATUS populates our BastionHostIPConfiguration from the provided source BastionHostIPConfiguration_STATUS +func (configuration *BastionHostIPConfiguration) Initialize_From_BastionHostIPConfiguration_STATUS(source *BastionHostIPConfiguration_STATUS) error { + + // No error + return nil +} + +// IP configuration of an Bastion Host. +type BastionHostIPConfiguration_STATUS struct { + // Id: Resource ID. + Id *string `json:"id,omitempty"` +} + +var _ genruntime.FromARMConverter = &BastionHostIPConfiguration_STATUS{} + +// NewEmptyARMValue returns an empty ARM value suitable for deserializing into +func (configuration *BastionHostIPConfiguration_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus { + return &BastionHostIPConfiguration_STATUS_ARM{} +} + +// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object +func (configuration *BastionHostIPConfiguration_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error { + typedInput, ok := armInput.(BastionHostIPConfiguration_STATUS_ARM) + if !ok { + return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected BastionHostIPConfiguration_STATUS_ARM, got %T", armInput) + } + + // Set property ‘Id’: + if typedInput.Id != nil { + id := *typedInput.Id + configuration.Id = &id + } + + // No error + return nil +} + +// AssignProperties_From_BastionHostIPConfiguration_STATUS populates our BastionHostIPConfiguration_STATUS from the provided source BastionHostIPConfiguration_STATUS +func (configuration *BastionHostIPConfiguration_STATUS) AssignProperties_From_BastionHostIPConfiguration_STATUS(source *v1api20220701s.BastionHostIPConfiguration_STATUS) error { + + // Id + configuration.Id = genruntime.ClonePointerToString(source.Id) + + // No error + return nil +} + +// AssignProperties_To_BastionHostIPConfiguration_STATUS populates the provided destination BastionHostIPConfiguration_STATUS from our BastionHostIPConfiguration_STATUS +func (configuration *BastionHostIPConfiguration_STATUS) AssignProperties_To_BastionHostIPConfiguration_STATUS(destination *v1api20220701s.BastionHostIPConfiguration_STATUS) error { + // Create a new property bag + propertyBag := genruntime.NewPropertyBag() + + // Id + destination.Id = genruntime.ClonePointerToString(configuration.Id) + + // Update the property bag + if len(propertyBag) > 0 { + destination.PropertyBag = propertyBag + } else { + destination.PropertyBag = nil + } + + // No error + return nil +} + +// The current provisioning state. +type BastionHostProvisioningState_STATUS string + +const ( + BastionHostProvisioningState_STATUS_Deleting = BastionHostProvisioningState_STATUS("Deleting") + BastionHostProvisioningState_STATUS_Failed = BastionHostProvisioningState_STATUS("Failed") + BastionHostProvisioningState_STATUS_Succeeded = BastionHostProvisioningState_STATUS("Succeeded") + BastionHostProvisioningState_STATUS_Updating = BastionHostProvisioningState_STATUS("Updating") +) + +// The sku of this Bastion Host. +type Sku struct { + // Name: The name of this Bastion Host. + Name *Sku_Name `json:"name,omitempty"` +} + +var _ genruntime.ARMTransformer = &Sku{} + +// ConvertToARM converts from a Kubernetes CRD object to an ARM object +func (sku *Sku) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) { + if sku == nil { + return nil, nil + } + result := &Sku_ARM{} + + // Set property ‘Name’: + if sku.Name != nil { + name := *sku.Name + result.Name = &name + } + return result, nil +} + +// NewEmptyARMValue returns an empty ARM value suitable for deserializing into +func (sku *Sku) NewEmptyARMValue() genruntime.ARMResourceStatus { + return &Sku_ARM{} +} + +// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object +func (sku *Sku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error { + typedInput, ok := armInput.(Sku_ARM) + if !ok { + return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected Sku_ARM, got %T", armInput) + } + + // Set property ‘Name’: + if typedInput.Name != nil { + name := *typedInput.Name + sku.Name = &name + } + + // No error + return nil +} + +// AssignProperties_From_Sku populates our Sku from the provided source Sku +func (sku *Sku) AssignProperties_From_Sku(source *v1api20220701s.Sku) error { + + // Name + if source.Name != nil { + name := Sku_Name(*source.Name) + sku.Name = &name + } else { + sku.Name = nil + } + + // No error + return nil +} + +// AssignProperties_To_Sku populates the provided destination Sku from our Sku +func (sku *Sku) AssignProperties_To_Sku(destination *v1api20220701s.Sku) error { + // Create a new property bag + propertyBag := genruntime.NewPropertyBag() + + // Name + if sku.Name != nil { + name := string(*sku.Name) + destination.Name = &name + } else { + destination.Name = nil + } + + // Update the property bag + if len(propertyBag) > 0 { + destination.PropertyBag = propertyBag + } else { + destination.PropertyBag = nil + } + + // No error + return nil +} + +// Initialize_From_Sku_STATUS populates our Sku from the provided source Sku_STATUS +func (sku *Sku) Initialize_From_Sku_STATUS(source *Sku_STATUS) error { + + // Name + if source.Name != nil { + name := Sku_Name(*source.Name) + sku.Name = &name + } else { + sku.Name = nil + } + + // No error + return nil +} + +// The sku of this Bastion Host. +type Sku_STATUS struct { + // Name: The name of this Bastion Host. + Name *Sku_Name_STATUS `json:"name,omitempty"` +} + +var _ genruntime.FromARMConverter = &Sku_STATUS{} + +// NewEmptyARMValue returns an empty ARM value suitable for deserializing into +func (sku *Sku_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus { + return &Sku_STATUS_ARM{} +} + +// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object +func (sku *Sku_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error { + typedInput, ok := armInput.(Sku_STATUS_ARM) + if !ok { + return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected Sku_STATUS_ARM, got %T", armInput) + } + + // Set property ‘Name’: + if typedInput.Name != nil { + name := *typedInput.Name + sku.Name = &name + } + + // No error + return nil +} + +// AssignProperties_From_Sku_STATUS populates our Sku_STATUS from the provided source Sku_STATUS +func (sku *Sku_STATUS) AssignProperties_From_Sku_STATUS(source *v1api20220701s.Sku_STATUS) error { + + // Name + if source.Name != nil { + name := Sku_Name_STATUS(*source.Name) + sku.Name = &name + } else { + sku.Name = nil + } + + // No error + return nil +} + +// AssignProperties_To_Sku_STATUS populates the provided destination Sku_STATUS from our Sku_STATUS +func (sku *Sku_STATUS) AssignProperties_To_Sku_STATUS(destination *v1api20220701s.Sku_STATUS) error { + // Create a new property bag + propertyBag := genruntime.NewPropertyBag() + + // Name + if sku.Name != nil { + name := string(*sku.Name) + destination.Name = &name + } else { + destination.Name = nil + } + + // Update the property bag + if len(propertyBag) > 0 { + destination.PropertyBag = propertyBag + } else { + destination.PropertyBag = nil + } + + // No error + return nil +} + +// Reference to another subresource. +type BastionHostSubResource struct { + // Reference: Resource ID. + Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"` +} + +var _ genruntime.ARMTransformer = &BastionHostSubResource{} + +// ConvertToARM converts from a Kubernetes CRD object to an ARM object +func (resource *BastionHostSubResource) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) { + if resource == nil { + return nil, nil + } + result := &BastionHostSubResource_ARM{} + + // Set property ‘Id’: + if resource.Reference != nil { + referenceARMID, err := resolved.ResolvedReferences.Lookup(*resource.Reference) + if err != nil { + return nil, err + } + reference := referenceARMID + result.Id = &reference + } + return result, nil +} + +// NewEmptyARMValue returns an empty ARM value suitable for deserializing into +func (resource *BastionHostSubResource) NewEmptyARMValue() genruntime.ARMResourceStatus { + return &BastionHostSubResource_ARM{} +} + +// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object +func (resource *BastionHostSubResource) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error { + _, ok := armInput.(BastionHostSubResource_ARM) + if !ok { + return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected BastionHostSubResource_ARM, got %T", armInput) + } + + // no assignment for property ‘Reference’ + + // No error + return nil +} + +// AssignProperties_From_BastionHostSubResource populates our BastionHostSubResource from the provided source BastionHostSubResource +func (resource *BastionHostSubResource) AssignProperties_From_BastionHostSubResource(source *v1api20220701s.BastionHostSubResource) error { + + // Reference + if source.Reference != nil { + reference := source.Reference.Copy() + resource.Reference = &reference + } else { + resource.Reference = nil + } + + // No error + return nil +} + +// AssignProperties_To_BastionHostSubResource populates the provided destination BastionHostSubResource from our BastionHostSubResource +func (resource *BastionHostSubResource) AssignProperties_To_BastionHostSubResource(destination *v1api20220701s.BastionHostSubResource) error { + // Create a new property bag + propertyBag := genruntime.NewPropertyBag() + + // Reference + if resource.Reference != nil { + reference := resource.Reference.Copy() + destination.Reference = &reference + } else { + destination.Reference = nil + } + + // Update the property bag + if len(propertyBag) > 0 { + destination.PropertyBag = propertyBag + } else { + destination.PropertyBag = nil + } + + // No error + return nil +} + +// IP address allocation method. +// +kubebuilder:validation:Enum={"Dynamic","Static"} +type IPAllocationMethod string + +const ( + IPAllocationMethod_Dynamic = IPAllocationMethod("Dynamic") + IPAllocationMethod_Static = IPAllocationMethod("Static") +) + +func init() { + SchemeBuilder.Register(&BastionHost{}, &BastionHostList{}) +} diff --git a/v2/api/network/v1api20220701/bastion_host_types_gen_test.go b/v2/api/network/v1api20220701/bastion_host_types_gen_test.go new file mode 100644 index 00000000000..7e198515ef2 --- /dev/null +++ b/v2/api/network/v1api20220701/bastion_host_types_gen_test.go @@ -0,0 +1,948 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package v1api20220701 + +import ( + "encoding/json" + v1api20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701storage" + "github.com/google/go-cmp/cmp" + "github.com/google/go-cmp/cmp/cmpopts" + "github.com/kr/pretty" + "github.com/kylelemons/godebug/diff" + "github.com/leanovate/gopter" + "github.com/leanovate/gopter/gen" + "github.com/leanovate/gopter/prop" + "os" + "reflect" + "testing" +) + +func Test_BastionHost_WhenConvertedToHub_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + parameters.MinSuccessfulTests = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from BastionHost to hub returns original", + prop.ForAll(RunResourceConversionTestForBastionHost, BastionHostGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunResourceConversionTestForBastionHost tests if a specific instance of BastionHost round trips to the hub storage version and back losslessly +func RunResourceConversionTestForBastionHost(subject BastionHost) string { + // Copy subject to make sure conversion doesn't modify it + copied := subject.DeepCopy() + + // Convert to our hub version + var hub v1api20220701s.BastionHost + err := copied.ConvertTo(&hub) + if err != nil { + return err.Error() + } + + // Convert from our hub version + var actual BastionHost + err = actual.ConvertFrom(&hub) + if err != nil { + return err.Error() + } + + // Compare actual with what we started with + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_BastionHost_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from BastionHost to BastionHost via AssignProperties_To_BastionHost & AssignProperties_From_BastionHost returns original", + prop.ForAll(RunPropertyAssignmentTestForBastionHost, BastionHostGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunPropertyAssignmentTestForBastionHost tests if a specific instance of BastionHost can be assigned to v1api20220701storage and back losslessly +func RunPropertyAssignmentTestForBastionHost(subject BastionHost) string { + // Copy subject to make sure assignment doesn't modify it + copied := subject.DeepCopy() + + // Use AssignPropertiesTo() for the first stage of conversion + var other v1api20220701s.BastionHost + err := copied.AssignProperties_To_BastionHost(&other) + if err != nil { + return err.Error() + } + + // Use AssignPropertiesFrom() to convert back to our original type + var actual BastionHost + err = actual.AssignProperties_From_BastionHost(&other) + if err != nil { + return err.Error() + } + + // Check for a match + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_BastionHost_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 20 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHost via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHost, BastionHostGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHost runs a test to see if a specific instance of BastionHost round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHost(subject BastionHost) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHost + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHost instances for property testing - lazily instantiated by BastionHostGenerator() +var bastionHostGenerator gopter.Gen + +// BastionHostGenerator returns a generator of BastionHost instances for property testing. +func BastionHostGenerator() gopter.Gen { + if bastionHostGenerator != nil { + return bastionHostGenerator + } + + generators := make(map[string]gopter.Gen) + AddRelatedPropertyGeneratorsForBastionHost(generators) + bastionHostGenerator = gen.Struct(reflect.TypeOf(BastionHost{}), generators) + + return bastionHostGenerator +} + +// AddRelatedPropertyGeneratorsForBastionHost is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHost(gens map[string]gopter.Gen) { + gens["Spec"] = BastionHost_SpecGenerator() + gens["Status"] = BastionHost_STATUSGenerator() +} + +func Test_BastionHost_Spec_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from BastionHost_Spec to BastionHost_Spec via AssignProperties_To_BastionHost_Spec & AssignProperties_From_BastionHost_Spec returns original", + prop.ForAll(RunPropertyAssignmentTestForBastionHost_Spec, BastionHost_SpecGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunPropertyAssignmentTestForBastionHost_Spec tests if a specific instance of BastionHost_Spec can be assigned to v1api20220701storage and back losslessly +func RunPropertyAssignmentTestForBastionHost_Spec(subject BastionHost_Spec) string { + // Copy subject to make sure assignment doesn't modify it + copied := subject.DeepCopy() + + // Use AssignPropertiesTo() for the first stage of conversion + var other v1api20220701s.BastionHost_Spec + err := copied.AssignProperties_To_BastionHost_Spec(&other) + if err != nil { + return err.Error() + } + + // Use AssignPropertiesFrom() to convert back to our original type + var actual BastionHost_Spec + err = actual.AssignProperties_From_BastionHost_Spec(&other) + if err != nil { + return err.Error() + } + + // Check for a match + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_BastionHost_Spec_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHost_Spec via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHost_Spec, BastionHost_SpecGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHost_Spec runs a test to see if a specific instance of BastionHost_Spec round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHost_Spec(subject BastionHost_Spec) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHost_Spec + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHost_Spec instances for property testing - lazily instantiated by BastionHost_SpecGenerator() +var bastionHost_SpecGenerator gopter.Gen + +// BastionHost_SpecGenerator returns a generator of BastionHost_Spec instances for property testing. +// We first initialize bastionHost_SpecGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHost_SpecGenerator() gopter.Gen { + if bastionHost_SpecGenerator != nil { + return bastionHost_SpecGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_Spec(generators) + bastionHost_SpecGenerator = gen.Struct(reflect.TypeOf(BastionHost_Spec{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_Spec(generators) + AddRelatedPropertyGeneratorsForBastionHost_Spec(generators) + bastionHost_SpecGenerator = gen.Struct(reflect.TypeOf(BastionHost_Spec{}), generators) + + return bastionHost_SpecGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHost_Spec is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHost_Spec(gens map[string]gopter.Gen) { + gens["AzureName"] = gen.AlphaString() + gens["DisableCopyPaste"] = gen.PtrOf(gen.Bool()) + gens["DnsName"] = gen.PtrOf(gen.AlphaString()) + gens["EnableFileCopy"] = gen.PtrOf(gen.Bool()) + gens["EnableIpConnect"] = gen.PtrOf(gen.Bool()) + gens["EnableShareableLink"] = gen.PtrOf(gen.Bool()) + gens["EnableTunneling"] = gen.PtrOf(gen.Bool()) + gens["Location"] = gen.PtrOf(gen.AlphaString()) + gens["ScaleUnits"] = gen.PtrOf(gen.Int()) + gens["Tags"] = gen.MapOf(gen.AlphaString(), gen.AlphaString()) +} + +// AddRelatedPropertyGeneratorsForBastionHost_Spec is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHost_Spec(gens map[string]gopter.Gen) { + gens["IpConfigurations"] = gen.SliceOf(BastionHostIPConfigurationGenerator()) + gens["Sku"] = gen.PtrOf(SkuGenerator()) +} + +func Test_BastionHost_STATUS_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from BastionHost_STATUS to BastionHost_STATUS via AssignProperties_To_BastionHost_STATUS & AssignProperties_From_BastionHost_STATUS returns original", + prop.ForAll(RunPropertyAssignmentTestForBastionHost_STATUS, BastionHost_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunPropertyAssignmentTestForBastionHost_STATUS tests if a specific instance of BastionHost_STATUS can be assigned to v1api20220701storage and back losslessly +func RunPropertyAssignmentTestForBastionHost_STATUS(subject BastionHost_STATUS) string { + // Copy subject to make sure assignment doesn't modify it + copied := subject.DeepCopy() + + // Use AssignPropertiesTo() for the first stage of conversion + var other v1api20220701s.BastionHost_STATUS + err := copied.AssignProperties_To_BastionHost_STATUS(&other) + if err != nil { + return err.Error() + } + + // Use AssignPropertiesFrom() to convert back to our original type + var actual BastionHost_STATUS + err = actual.AssignProperties_From_BastionHost_STATUS(&other) + if err != nil { + return err.Error() + } + + // Check for a match + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_BastionHost_STATUS_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHost_STATUS via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHost_STATUS, BastionHost_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHost_STATUS runs a test to see if a specific instance of BastionHost_STATUS round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHost_STATUS(subject BastionHost_STATUS) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHost_STATUS + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHost_STATUS instances for property testing - lazily instantiated by BastionHost_STATUSGenerator() +var bastionHost_STATUSGenerator gopter.Gen + +// BastionHost_STATUSGenerator returns a generator of BastionHost_STATUS instances for property testing. +// We first initialize bastionHost_STATUSGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHost_STATUSGenerator() gopter.Gen { + if bastionHost_STATUSGenerator != nil { + return bastionHost_STATUSGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_STATUS(generators) + bastionHost_STATUSGenerator = gen.Struct(reflect.TypeOf(BastionHost_STATUS{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_STATUS(generators) + AddRelatedPropertyGeneratorsForBastionHost_STATUS(generators) + bastionHost_STATUSGenerator = gen.Struct(reflect.TypeOf(BastionHost_STATUS{}), generators) + + return bastionHost_STATUSGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHost_STATUS is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHost_STATUS(gens map[string]gopter.Gen) { + gens["DisableCopyPaste"] = gen.PtrOf(gen.Bool()) + gens["DnsName"] = gen.PtrOf(gen.AlphaString()) + gens["EnableFileCopy"] = gen.PtrOf(gen.Bool()) + gens["EnableIpConnect"] = gen.PtrOf(gen.Bool()) + gens["EnableShareableLink"] = gen.PtrOf(gen.Bool()) + gens["EnableTunneling"] = gen.PtrOf(gen.Bool()) + gens["Etag"] = gen.PtrOf(gen.AlphaString()) + gens["Id"] = gen.PtrOf(gen.AlphaString()) + gens["Location"] = gen.PtrOf(gen.AlphaString()) + gens["Name"] = gen.PtrOf(gen.AlphaString()) + gens["ProvisioningState"] = gen.PtrOf(gen.OneConstOf( + BastionHostProvisioningState_STATUS_Deleting, + BastionHostProvisioningState_STATUS_Failed, + BastionHostProvisioningState_STATUS_Succeeded, + BastionHostProvisioningState_STATUS_Updating)) + gens["ScaleUnits"] = gen.PtrOf(gen.Int()) + gens["Tags"] = gen.MapOf(gen.AlphaString(), gen.AlphaString()) + gens["Type"] = gen.PtrOf(gen.AlphaString()) +} + +// AddRelatedPropertyGeneratorsForBastionHost_STATUS is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHost_STATUS(gens map[string]gopter.Gen) { + gens["IpConfigurations"] = gen.SliceOf(BastionHostIPConfiguration_STATUSGenerator()) + gens["Sku"] = gen.PtrOf(Sku_STATUSGenerator()) +} + +func Test_BastionHostIPConfiguration_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from BastionHostIPConfiguration to BastionHostIPConfiguration via AssignProperties_To_BastionHostIPConfiguration & AssignProperties_From_BastionHostIPConfiguration returns original", + prop.ForAll(RunPropertyAssignmentTestForBastionHostIPConfiguration, BastionHostIPConfigurationGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunPropertyAssignmentTestForBastionHostIPConfiguration tests if a specific instance of BastionHostIPConfiguration can be assigned to v1api20220701storage and back losslessly +func RunPropertyAssignmentTestForBastionHostIPConfiguration(subject BastionHostIPConfiguration) string { + // Copy subject to make sure assignment doesn't modify it + copied := subject.DeepCopy() + + // Use AssignPropertiesTo() for the first stage of conversion + var other v1api20220701s.BastionHostIPConfiguration + err := copied.AssignProperties_To_BastionHostIPConfiguration(&other) + if err != nil { + return err.Error() + } + + // Use AssignPropertiesFrom() to convert back to our original type + var actual BastionHostIPConfiguration + err = actual.AssignProperties_From_BastionHostIPConfiguration(&other) + if err != nil { + return err.Error() + } + + // Check for a match + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_BastionHostIPConfiguration_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostIPConfiguration via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostIPConfiguration, BastionHostIPConfigurationGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostIPConfiguration runs a test to see if a specific instance of BastionHostIPConfiguration round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostIPConfiguration(subject BastionHostIPConfiguration) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostIPConfiguration + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostIPConfiguration instances for property testing - lazily instantiated by +// BastionHostIPConfigurationGenerator() +var bastionHostIPConfigurationGenerator gopter.Gen + +// BastionHostIPConfigurationGenerator returns a generator of BastionHostIPConfiguration instances for property testing. +// We first initialize bastionHostIPConfigurationGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHostIPConfigurationGenerator() gopter.Gen { + if bastionHostIPConfigurationGenerator != nil { + return bastionHostIPConfigurationGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration(generators) + bastionHostIPConfigurationGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration(generators) + AddRelatedPropertyGeneratorsForBastionHostIPConfiguration(generators) + bastionHostIPConfigurationGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration{}), generators) + + return bastionHostIPConfigurationGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostIPConfiguration is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostIPConfiguration(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.AlphaString()) + gens["PrivateIPAllocationMethod"] = gen.PtrOf(gen.OneConstOf(IPAllocationMethod_Dynamic, IPAllocationMethod_Static)) +} + +// AddRelatedPropertyGeneratorsForBastionHostIPConfiguration is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHostIPConfiguration(gens map[string]gopter.Gen) { + gens["PublicIPAddress"] = gen.PtrOf(BastionHostSubResourceGenerator()) + gens["Subnet"] = gen.PtrOf(BastionHostSubResourceGenerator()) +} + +func Test_BastionHostIPConfiguration_STATUS_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from BastionHostIPConfiguration_STATUS to BastionHostIPConfiguration_STATUS via AssignProperties_To_BastionHostIPConfiguration_STATUS & AssignProperties_From_BastionHostIPConfiguration_STATUS returns original", + prop.ForAll(RunPropertyAssignmentTestForBastionHostIPConfiguration_STATUS, BastionHostIPConfiguration_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunPropertyAssignmentTestForBastionHostIPConfiguration_STATUS tests if a specific instance of BastionHostIPConfiguration_STATUS can be assigned to v1api20220701storage and back losslessly +func RunPropertyAssignmentTestForBastionHostIPConfiguration_STATUS(subject BastionHostIPConfiguration_STATUS) string { + // Copy subject to make sure assignment doesn't modify it + copied := subject.DeepCopy() + + // Use AssignPropertiesTo() for the first stage of conversion + var other v1api20220701s.BastionHostIPConfiguration_STATUS + err := copied.AssignProperties_To_BastionHostIPConfiguration_STATUS(&other) + if err != nil { + return err.Error() + } + + // Use AssignPropertiesFrom() to convert back to our original type + var actual BastionHostIPConfiguration_STATUS + err = actual.AssignProperties_From_BastionHostIPConfiguration_STATUS(&other) + if err != nil { + return err.Error() + } + + // Check for a match + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_BastionHostIPConfiguration_STATUS_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostIPConfiguration_STATUS via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostIPConfiguration_STATUS, BastionHostIPConfiguration_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostIPConfiguration_STATUS runs a test to see if a specific instance of BastionHostIPConfiguration_STATUS round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostIPConfiguration_STATUS(subject BastionHostIPConfiguration_STATUS) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostIPConfiguration_STATUS + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostIPConfiguration_STATUS instances for property testing - lazily instantiated by +// BastionHostIPConfiguration_STATUSGenerator() +var bastionHostIPConfiguration_STATUSGenerator gopter.Gen + +// BastionHostIPConfiguration_STATUSGenerator returns a generator of BastionHostIPConfiguration_STATUS instances for property testing. +func BastionHostIPConfiguration_STATUSGenerator() gopter.Gen { + if bastionHostIPConfiguration_STATUSGenerator != nil { + return bastionHostIPConfiguration_STATUSGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS(generators) + bastionHostIPConfiguration_STATUSGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration_STATUS{}), generators) + + return bastionHostIPConfiguration_STATUSGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS(gens map[string]gopter.Gen) { + gens["Id"] = gen.PtrOf(gen.AlphaString()) +} + +func Test_Sku_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from Sku to Sku via AssignProperties_To_Sku & AssignProperties_From_Sku returns original", + prop.ForAll(RunPropertyAssignmentTestForSku, SkuGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunPropertyAssignmentTestForSku tests if a specific instance of Sku can be assigned to v1api20220701storage and back losslessly +func RunPropertyAssignmentTestForSku(subject Sku) string { + // Copy subject to make sure assignment doesn't modify it + copied := subject.DeepCopy() + + // Use AssignPropertiesTo() for the first stage of conversion + var other v1api20220701s.Sku + err := copied.AssignProperties_To_Sku(&other) + if err != nil { + return err.Error() + } + + // Use AssignPropertiesFrom() to convert back to our original type + var actual Sku + err = actual.AssignProperties_From_Sku(&other) + if err != nil { + return err.Error() + } + + // Check for a match + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_Sku_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of Sku via JSON returns original", + prop.ForAll(RunJSONSerializationTestForSku, SkuGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForSku runs a test to see if a specific instance of Sku round trips to JSON and back losslessly +func RunJSONSerializationTestForSku(subject Sku) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual Sku + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of Sku instances for property testing - lazily instantiated by SkuGenerator() +var skuGenerator gopter.Gen + +// SkuGenerator returns a generator of Sku instances for property testing. +func SkuGenerator() gopter.Gen { + if skuGenerator != nil { + return skuGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForSku(generators) + skuGenerator = gen.Struct(reflect.TypeOf(Sku{}), generators) + + return skuGenerator +} + +// AddIndependentPropertyGeneratorsForSku is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForSku(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.OneConstOf(Sku_Name_Basic, Sku_Name_Standard)) +} + +func Test_Sku_STATUS_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from Sku_STATUS to Sku_STATUS via AssignProperties_To_Sku_STATUS & AssignProperties_From_Sku_STATUS returns original", + prop.ForAll(RunPropertyAssignmentTestForSku_STATUS, Sku_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunPropertyAssignmentTestForSku_STATUS tests if a specific instance of Sku_STATUS can be assigned to v1api20220701storage and back losslessly +func RunPropertyAssignmentTestForSku_STATUS(subject Sku_STATUS) string { + // Copy subject to make sure assignment doesn't modify it + copied := subject.DeepCopy() + + // Use AssignPropertiesTo() for the first stage of conversion + var other v1api20220701s.Sku_STATUS + err := copied.AssignProperties_To_Sku_STATUS(&other) + if err != nil { + return err.Error() + } + + // Use AssignPropertiesFrom() to convert back to our original type + var actual Sku_STATUS + err = actual.AssignProperties_From_Sku_STATUS(&other) + if err != nil { + return err.Error() + } + + // Check for a match + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_Sku_STATUS_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of Sku_STATUS via JSON returns original", + prop.ForAll(RunJSONSerializationTestForSku_STATUS, Sku_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForSku_STATUS runs a test to see if a specific instance of Sku_STATUS round trips to JSON and back losslessly +func RunJSONSerializationTestForSku_STATUS(subject Sku_STATUS) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual Sku_STATUS + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of Sku_STATUS instances for property testing - lazily instantiated by Sku_STATUSGenerator() +var sku_STATUSGenerator gopter.Gen + +// Sku_STATUSGenerator returns a generator of Sku_STATUS instances for property testing. +func Sku_STATUSGenerator() gopter.Gen { + if sku_STATUSGenerator != nil { + return sku_STATUSGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForSku_STATUS(generators) + sku_STATUSGenerator = gen.Struct(reflect.TypeOf(Sku_STATUS{}), generators) + + return sku_STATUSGenerator +} + +// AddIndependentPropertyGeneratorsForSku_STATUS is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForSku_STATUS(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.OneConstOf(Sku_Name_STATUS_Basic, Sku_Name_STATUS_Standard)) +} + +func Test_BastionHostSubResource_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MaxSize = 10 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip from BastionHostSubResource to BastionHostSubResource via AssignProperties_To_BastionHostSubResource & AssignProperties_From_BastionHostSubResource returns original", + prop.ForAll(RunPropertyAssignmentTestForBastionHostSubResource, BastionHostSubResourceGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout)) +} + +// RunPropertyAssignmentTestForBastionHostSubResource tests if a specific instance of BastionHostSubResource can be assigned to v1api20220701storage and back losslessly +func RunPropertyAssignmentTestForBastionHostSubResource(subject BastionHostSubResource) string { + // Copy subject to make sure assignment doesn't modify it + copied := subject.DeepCopy() + + // Use AssignPropertiesTo() for the first stage of conversion + var other v1api20220701s.BastionHostSubResource + err := copied.AssignProperties_To_BastionHostSubResource(&other) + if err != nil { + return err.Error() + } + + // Use AssignPropertiesFrom() to convert back to our original type + var actual BastionHostSubResource + err = actual.AssignProperties_From_BastionHostSubResource(&other) + if err != nil { + return err.Error() + } + + // Check for a match + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +func Test_BastionHostSubResource_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostSubResource via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostSubResource, BastionHostSubResourceGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostSubResource runs a test to see if a specific instance of BastionHostSubResource round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostSubResource(subject BastionHostSubResource) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostSubResource + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostSubResource instances for property testing - lazily instantiated by +// BastionHostSubResourceGenerator() +var bastionHostSubResourceGenerator gopter.Gen + +// BastionHostSubResourceGenerator returns a generator of BastionHostSubResource instances for property testing. +func BastionHostSubResourceGenerator() gopter.Gen { + if bastionHostSubResourceGenerator != nil { + return bastionHostSubResourceGenerator + } + + generators := make(map[string]gopter.Gen) + bastionHostSubResourceGenerator = gen.Struct(reflect.TypeOf(BastionHostSubResource{}), generators) + + return bastionHostSubResourceGenerator +} diff --git a/v2/api/network/v1api20220701/private_endpoint_types_gen.go b/v2/api/network/v1api20220701/private_endpoint_types_gen.go index 2a157cdc83a..00bb9983acb 100644 --- a/v2/api/network/v1api20220701/private_endpoint_types_gen.go +++ b/v2/api/network/v1api20220701/private_endpoint_types_gen.go @@ -332,11 +332,6 @@ type PrivateEndpointList struct { Items []PrivateEndpoint `json:"items"` } -// +kubebuilder:validation:Enum={"2022-07-01"} -type APIVersion string - -const APIVersion_Value = APIVersion("2022-07-01") - type PrivateEndpoint_Spec struct { // ApplicationSecurityGroups: Application security groups in which the private endpoint IP configuration is included. ApplicationSecurityGroups []ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded `json:"applicationSecurityGroups,omitempty"` diff --git a/v2/api/network/v1api20220701/private_link_service_types_gen.go b/v2/api/network/v1api20220701/private_link_service_types_gen.go index 2c2f41b3194..8e714f127ab 100644 --- a/v2/api/network/v1api20220701/private_link_service_types_gen.go +++ b/v2/api/network/v1api20220701/private_link_service_types_gen.go @@ -2683,15 +2683,6 @@ func (resourceSet *ResourceSet_STATUS) AssignProperties_To_ResourceSet_STATUS(de return nil } -// IP address allocation method. -// +kubebuilder:validation:Enum={"Dynamic","Static"} -type IPAllocationMethod string - -const ( - IPAllocationMethod_Dynamic = IPAllocationMethod("Dynamic") - IPAllocationMethod_Static = IPAllocationMethod("Static") -) - // IP address allocation method. type IPAllocationMethod_STATUS string diff --git a/v2/api/network/v1api20220701/structure.txt b/v2/api/network/v1api20220701/structure.txt index d791bd9b05b..32cd1e5a690 100644 --- a/v2/api/network/v1api20220701/structure.txt +++ b/v2/api/network/v1api20220701/structure.txt @@ -1,6 +1,113 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20220701 ├── APIVersion: Enum (1 value) │ └── "2022-07-01" +├── BastionHost: Resource +│ ├── Owner: github.com/Azure/azure-service-operator/v2/api/resources/v1apiv20191001.ResourceGroup +│ ├── Spec: Object (13 properties) +│ │ ├── AzureName: string +│ │ ├── DisableCopyPaste: *bool +│ │ ├── DnsName: *string +│ │ ├── EnableFileCopy: *bool +│ │ ├── EnableIpConnect: *bool +│ │ ├── EnableShareableLink: *bool +│ │ ├── EnableTunneling: *bool +│ │ ├── IpConfigurations: Object (4 properties)[] +│ │ │ ├── Name: *string +│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values) +│ │ │ │ ├── "Dynamic" +│ │ │ │ └── "Static" +│ │ │ ├── PublicIPAddress: *Object (1 property) +│ │ │ │ └── Reference: *genruntime.ResourceReference +│ │ │ └── Subnet: *Object (1 property) +│ │ │ └── Reference: *genruntime.ResourceReference +│ │ ├── Location: *string +│ │ ├── Owner: *genruntime.KnownResourceReference +│ │ ├── ScaleUnits: Validated<*int> (2 rules) +│ │ │ ├── Rule 0: Maximum: 50 +│ │ │ └── Rule 1: Minimum: 2 +│ │ ├── Sku: *Object (1 property) +│ │ │ └── Name: *Enum (2 values) +│ │ │ ├── "Basic" +│ │ │ └── "Standard" +│ │ └── Tags: map[string]string +│ └── Status: Object (17 properties) +│ ├── Conditions: conditions.Condition[] +│ ├── DisableCopyPaste: *bool +│ ├── DnsName: *string +│ ├── EnableFileCopy: *bool +│ ├── EnableIpConnect: *bool +│ ├── EnableShareableLink: *bool +│ ├── EnableTunneling: *bool +│ ├── Etag: *string +│ ├── Id: *string +│ ├── IpConfigurations: Object (1 property)[] +│ │ └── Id: *string +│ ├── Location: *string +│ ├── Name: *string +│ ├── ProvisioningState: *Enum (4 values) +│ │ ├── "Deleting" +│ │ ├── "Failed" +│ │ ├── "Succeeded" +│ │ └── "Updating" +│ ├── ScaleUnits: *int +│ ├── Sku: *Object (1 property) +│ │ └── Name: *Enum (2 values) +│ │ ├── "Basic" +│ │ └── "Standard" +│ ├── Tags: map[string]string +│ └── Type: *string +├── BastionHost_STATUS_ARM: Object (8 properties) +│ ├── Etag: *string +│ ├── Id: *string +│ ├── Location: *string +│ ├── Name: *string +│ ├── Properties: *Object (9 properties) +│ │ ├── DisableCopyPaste: *bool +│ │ ├── DnsName: *string +│ │ ├── EnableFileCopy: *bool +│ │ ├── EnableIpConnect: *bool +│ │ ├── EnableShareableLink: *bool +│ │ ├── EnableTunneling: *bool +│ │ ├── IpConfigurations: Object (1 property)[] +│ │ │ └── Id: *string +│ │ ├── ProvisioningState: *Enum (4 values) +│ │ │ ├── "Deleting" +│ │ │ ├── "Failed" +│ │ │ ├── "Succeeded" +│ │ │ └── "Updating" +│ │ └── ScaleUnits: *int +│ ├── Sku: *Object (1 property) +│ │ └── Name: *Enum (2 values) +│ │ ├── "Basic" +│ │ └── "Standard" +│ ├── Tags: map[string]string +│ └── Type: *string +├── BastionHost_Spec_ARM: Object (5 properties) +│ ├── Location: *string +│ ├── Name: string +│ ├── Properties: *Object (8 properties) +│ │ ├── DisableCopyPaste: *bool +│ │ ├── DnsName: *string +│ │ ├── EnableFileCopy: *bool +│ │ ├── EnableIpConnect: *bool +│ │ ├── EnableShareableLink: *bool +│ │ ├── EnableTunneling: *bool +│ │ ├── IpConfigurations: Object (2 properties)[] +│ │ │ ├── Name: *string +│ │ │ └── Properties: *Object (3 properties) +│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values) +│ │ │ │ ├── "Dynamic" +│ │ │ │ └── "Static" +│ │ │ ├── PublicIPAddress: *Object (1 property) +│ │ │ │ └── Id: *string +│ │ │ └── Subnet: *Object (1 property) +│ │ │ └── Id: *string +│ │ └── ScaleUnits: *int +│ ├── Sku: *Object (1 property) +│ │ └── Name: *Enum (2 values) +│ │ ├── "Basic" +│ │ └── "Standard" +│ └── Tags: map[string]string ├── PrivateEndpoint: Resource │ ├── Owner: github.com/Azure/azure-service-operator/v2/api/resources/v1apiv20191001.ResourceGroup │ ├── Spec: Object (11 properties) diff --git a/v2/api/network/v1api20220701/zz_generated.deepcopy.go b/v2/api/network/v1api20220701/zz_generated.deepcopy.go index c8e5d1f02a5..159148c0fd7 100644 --- a/v2/api/network/v1api20220701/zz_generated.deepcopy.go +++ b/v2/api/network/v1api20220701/zz_generated.deepcopy.go @@ -96,6 +96,633 @@ func (in *ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded_AR return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost) DeepCopyInto(out *BastionHost) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost. +func (in *BastionHost) DeepCopy() *BastionHost { + if in == nil { + return nil + } + out := new(BastionHost) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BastionHost) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostIPConfiguration) DeepCopyInto(out *BastionHostIPConfiguration) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateIPAllocationMethod != nil { + in, out := &in.PrivateIPAllocationMethod, &out.PrivateIPAllocationMethod + *out = new(IPAllocationMethod) + **out = **in + } + if in.PublicIPAddress != nil { + in, out := &in.PublicIPAddress, &out.PublicIPAddress + *out = new(BastionHostSubResource) + (*in).DeepCopyInto(*out) + } + if in.Subnet != nil { + in, out := &in.Subnet, &out.Subnet + *out = new(BastionHostSubResource) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostIPConfiguration. +func (in *BastionHostIPConfiguration) DeepCopy() *BastionHostIPConfiguration { + if in == nil { + return nil + } + out := new(BastionHostIPConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostIPConfigurationPropertiesFormat_ARM) DeepCopyInto(out *BastionHostIPConfigurationPropertiesFormat_ARM) { + *out = *in + if in.PrivateIPAllocationMethod != nil { + in, out := &in.PrivateIPAllocationMethod, &out.PrivateIPAllocationMethod + *out = new(IPAllocationMethod) + **out = **in + } + if in.PublicIPAddress != nil { + in, out := &in.PublicIPAddress, &out.PublicIPAddress + *out = new(BastionHostSubResource_ARM) + (*in).DeepCopyInto(*out) + } + if in.Subnet != nil { + in, out := &in.Subnet, &out.Subnet + *out = new(BastionHostSubResource_ARM) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostIPConfigurationPropertiesFormat_ARM. +func (in *BastionHostIPConfigurationPropertiesFormat_ARM) DeepCopy() *BastionHostIPConfigurationPropertiesFormat_ARM { + if in == nil { + return nil + } + out := new(BastionHostIPConfigurationPropertiesFormat_ARM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostIPConfiguration_ARM) DeepCopyInto(out *BastionHostIPConfiguration_ARM) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(BastionHostIPConfigurationPropertiesFormat_ARM) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostIPConfiguration_ARM. +func (in *BastionHostIPConfiguration_ARM) DeepCopy() *BastionHostIPConfiguration_ARM { + if in == nil { + return nil + } + out := new(BastionHostIPConfiguration_ARM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostIPConfiguration_STATUS) DeepCopyInto(out *BastionHostIPConfiguration_STATUS) { + *out = *in + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostIPConfiguration_STATUS. +func (in *BastionHostIPConfiguration_STATUS) DeepCopy() *BastionHostIPConfiguration_STATUS { + if in == nil { + return nil + } + out := new(BastionHostIPConfiguration_STATUS) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostIPConfiguration_STATUS_ARM) DeepCopyInto(out *BastionHostIPConfiguration_STATUS_ARM) { + *out = *in + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostIPConfiguration_STATUS_ARM. +func (in *BastionHostIPConfiguration_STATUS_ARM) DeepCopy() *BastionHostIPConfiguration_STATUS_ARM { + if in == nil { + return nil + } + out := new(BastionHostIPConfiguration_STATUS_ARM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostList) DeepCopyInto(out *BastionHostList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]BastionHost, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostList. +func (in *BastionHostList) DeepCopy() *BastionHostList { + if in == nil { + return nil + } + out := new(BastionHostList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BastionHostList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostPropertiesFormat_ARM) DeepCopyInto(out *BastionHostPropertiesFormat_ARM) { + *out = *in + if in.DisableCopyPaste != nil { + in, out := &in.DisableCopyPaste, &out.DisableCopyPaste + *out = new(bool) + **out = **in + } + if in.DnsName != nil { + in, out := &in.DnsName, &out.DnsName + *out = new(string) + **out = **in + } + if in.EnableFileCopy != nil { + in, out := &in.EnableFileCopy, &out.EnableFileCopy + *out = new(bool) + **out = **in + } + if in.EnableIpConnect != nil { + in, out := &in.EnableIpConnect, &out.EnableIpConnect + *out = new(bool) + **out = **in + } + if in.EnableShareableLink != nil { + in, out := &in.EnableShareableLink, &out.EnableShareableLink + *out = new(bool) + **out = **in + } + if in.EnableTunneling != nil { + in, out := &in.EnableTunneling, &out.EnableTunneling + *out = new(bool) + **out = **in + } + if in.IpConfigurations != nil { + in, out := &in.IpConfigurations, &out.IpConfigurations + *out = make([]BastionHostIPConfiguration_ARM, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScaleUnits != nil { + in, out := &in.ScaleUnits, &out.ScaleUnits + *out = new(int) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostPropertiesFormat_ARM. +func (in *BastionHostPropertiesFormat_ARM) DeepCopy() *BastionHostPropertiesFormat_ARM { + if in == nil { + return nil + } + out := new(BastionHostPropertiesFormat_ARM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostPropertiesFormat_STATUS_ARM) DeepCopyInto(out *BastionHostPropertiesFormat_STATUS_ARM) { + *out = *in + if in.DisableCopyPaste != nil { + in, out := &in.DisableCopyPaste, &out.DisableCopyPaste + *out = new(bool) + **out = **in + } + if in.DnsName != nil { + in, out := &in.DnsName, &out.DnsName + *out = new(string) + **out = **in + } + if in.EnableFileCopy != nil { + in, out := &in.EnableFileCopy, &out.EnableFileCopy + *out = new(bool) + **out = **in + } + if in.EnableIpConnect != nil { + in, out := &in.EnableIpConnect, &out.EnableIpConnect + *out = new(bool) + **out = **in + } + if in.EnableShareableLink != nil { + in, out := &in.EnableShareableLink, &out.EnableShareableLink + *out = new(bool) + **out = **in + } + if in.EnableTunneling != nil { + in, out := &in.EnableTunneling, &out.EnableTunneling + *out = new(bool) + **out = **in + } + if in.IpConfigurations != nil { + in, out := &in.IpConfigurations, &out.IpConfigurations + *out = make([]BastionHostIPConfiguration_STATUS_ARM, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ProvisioningState != nil { + in, out := &in.ProvisioningState, &out.ProvisioningState + *out = new(BastionHostProvisioningState_STATUS) + **out = **in + } + if in.ScaleUnits != nil { + in, out := &in.ScaleUnits, &out.ScaleUnits + *out = new(int) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostPropertiesFormat_STATUS_ARM. +func (in *BastionHostPropertiesFormat_STATUS_ARM) DeepCopy() *BastionHostPropertiesFormat_STATUS_ARM { + if in == nil { + return nil + } + out := new(BastionHostPropertiesFormat_STATUS_ARM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostSubResource) DeepCopyInto(out *BastionHostSubResource) { + *out = *in + if in.Reference != nil { + in, out := &in.Reference, &out.Reference + *out = new(genruntime.ResourceReference) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostSubResource. +func (in *BastionHostSubResource) DeepCopy() *BastionHostSubResource { + if in == nil { + return nil + } + out := new(BastionHostSubResource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostSubResource_ARM) DeepCopyInto(out *BastionHostSubResource_ARM) { + *out = *in + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostSubResource_ARM. +func (in *BastionHostSubResource_ARM) DeepCopy() *BastionHostSubResource_ARM { + if in == nil { + return nil + } + out := new(BastionHostSubResource_ARM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost_STATUS) DeepCopyInto(out *BastionHost_STATUS) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]conditions.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DisableCopyPaste != nil { + in, out := &in.DisableCopyPaste, &out.DisableCopyPaste + *out = new(bool) + **out = **in + } + if in.DnsName != nil { + in, out := &in.DnsName, &out.DnsName + *out = new(string) + **out = **in + } + if in.EnableFileCopy != nil { + in, out := &in.EnableFileCopy, &out.EnableFileCopy + *out = new(bool) + **out = **in + } + if in.EnableIpConnect != nil { + in, out := &in.EnableIpConnect, &out.EnableIpConnect + *out = new(bool) + **out = **in + } + if in.EnableShareableLink != nil { + in, out := &in.EnableShareableLink, &out.EnableShareableLink + *out = new(bool) + **out = **in + } + if in.EnableTunneling != nil { + in, out := &in.EnableTunneling, &out.EnableTunneling + *out = new(bool) + **out = **in + } + if in.Etag != nil { + in, out := &in.Etag, &out.Etag + *out = new(string) + **out = **in + } + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } + if in.IpConfigurations != nil { + in, out := &in.IpConfigurations, &out.IpConfigurations + *out = make([]BastionHostIPConfiguration_STATUS, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisioningState != nil { + in, out := &in.ProvisioningState, &out.ProvisioningState + *out = new(BastionHostProvisioningState_STATUS) + **out = **in + } + if in.ScaleUnits != nil { + in, out := &in.ScaleUnits, &out.ScaleUnits + *out = new(int) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(Sku_STATUS) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost_STATUS. +func (in *BastionHost_STATUS) DeepCopy() *BastionHost_STATUS { + if in == nil { + return nil + } + out := new(BastionHost_STATUS) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost_STATUS_ARM) DeepCopyInto(out *BastionHost_STATUS_ARM) { + *out = *in + if in.Etag != nil { + in, out := &in.Etag, &out.Etag + *out = new(string) + **out = **in + } + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(BastionHostPropertiesFormat_STATUS_ARM) + (*in).DeepCopyInto(*out) + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(Sku_STATUS_ARM) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost_STATUS_ARM. +func (in *BastionHost_STATUS_ARM) DeepCopy() *BastionHost_STATUS_ARM { + if in == nil { + return nil + } + out := new(BastionHost_STATUS_ARM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost_Spec) DeepCopyInto(out *BastionHost_Spec) { + *out = *in + if in.DisableCopyPaste != nil { + in, out := &in.DisableCopyPaste, &out.DisableCopyPaste + *out = new(bool) + **out = **in + } + if in.DnsName != nil { + in, out := &in.DnsName, &out.DnsName + *out = new(string) + **out = **in + } + if in.EnableFileCopy != nil { + in, out := &in.EnableFileCopy, &out.EnableFileCopy + *out = new(bool) + **out = **in + } + if in.EnableIpConnect != nil { + in, out := &in.EnableIpConnect, &out.EnableIpConnect + *out = new(bool) + **out = **in + } + if in.EnableShareableLink != nil { + in, out := &in.EnableShareableLink, &out.EnableShareableLink + *out = new(bool) + **out = **in + } + if in.EnableTunneling != nil { + in, out := &in.EnableTunneling, &out.EnableTunneling + *out = new(bool) + **out = **in + } + if in.IpConfigurations != nil { + in, out := &in.IpConfigurations, &out.IpConfigurations + *out = make([]BastionHostIPConfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Owner != nil { + in, out := &in.Owner, &out.Owner + *out = new(genruntime.KnownResourceReference) + **out = **in + } + if in.ScaleUnits != nil { + in, out := &in.ScaleUnits, &out.ScaleUnits + *out = new(int) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(Sku) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost_Spec. +func (in *BastionHost_Spec) DeepCopy() *BastionHost_Spec { + if in == nil { + return nil + } + out := new(BastionHost_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost_Spec_ARM) DeepCopyInto(out *BastionHost_Spec_ARM) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(BastionHostPropertiesFormat_ARM) + (*in).DeepCopyInto(*out) + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(Sku_ARM) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost_Spec_ARM. +func (in *BastionHost_Spec_ARM) DeepCopy() *BastionHost_Spec_ARM { + if in == nil { + return nil + } + out := new(BastionHost_Spec_ARM) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomDnsConfigPropertiesFormat_STATUS) DeepCopyInto(out *CustomDnsConfigPropertiesFormat_STATUS) { *out = *in @@ -2806,6 +3433,86 @@ func (in *ResourceSet_STATUS_ARM) DeepCopy() *ResourceSet_STATUS_ARM { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku) DeepCopyInto(out *Sku) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(Sku_Name) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku. +func (in *Sku) DeepCopy() *Sku { + if in == nil { + return nil + } + out := new(Sku) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku_ARM) DeepCopyInto(out *Sku_ARM) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(Sku_Name) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku_ARM. +func (in *Sku_ARM) DeepCopy() *Sku_ARM { + if in == nil { + return nil + } + out := new(Sku_ARM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku_STATUS) DeepCopyInto(out *Sku_STATUS) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(Sku_Name_STATUS) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku_STATUS. +func (in *Sku_STATUS) DeepCopy() *Sku_STATUS { + if in == nil { + return nil + } + out := new(Sku_STATUS) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku_STATUS_ARM) DeepCopyInto(out *Sku_STATUS_ARM) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(Sku_Name_STATUS) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku_STATUS_ARM. +func (in *Sku_STATUS_ARM) DeepCopy() *Sku_STATUS_ARM { + if in == nil { + return nil + } + out := new(Sku_STATUS_ARM) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Subnet_PrivateEndpoint_SubResourceEmbedded) DeepCopyInto(out *Subnet_PrivateEndpoint_SubResourceEmbedded) { *out = *in diff --git a/v2/api/network/v1api20220701storage/bastion_host_types_gen.go b/v2/api/network/v1api20220701storage/bastion_host_types_gen.go new file mode 100644 index 00000000000..66a4c82c0eb --- /dev/null +++ b/v2/api/network/v1api20220701storage/bastion_host_types_gen.go @@ -0,0 +1,273 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package v1api20220701storage + +import ( + "github.com/Azure/azure-service-operator/v2/pkg/genruntime" + "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions" + "github.com/pkg/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +// +kubebuilder:rbac:groups=network.azure.com,resources=bastionhosts,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=network.azure.com,resources={bastionhosts/status,bastionhosts/finalizers},verbs=get;update;patch + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:storageversion +// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" +// Storage version of v1api20220701.BastionHost +// Generator information: +// - Generated from: /network/resource-manager/Microsoft.Network/stable/2022-07-01/bastionHost.json +// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName} +type BastionHost struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec BastionHost_Spec `json:"spec,omitempty"` + Status BastionHost_STATUS `json:"status,omitempty"` +} + +var _ conditions.Conditioner = &BastionHost{} + +// GetConditions returns the conditions of the resource +func (host *BastionHost) GetConditions() conditions.Conditions { + return host.Status.Conditions +} + +// SetConditions sets the conditions on the resource status +func (host *BastionHost) SetConditions(conditions conditions.Conditions) { + host.Status.Conditions = conditions +} + +var _ genruntime.KubernetesResource = &BastionHost{} + +// AzureName returns the Azure name of the resource +func (host *BastionHost) AzureName() string { + return host.Spec.AzureName +} + +// GetAPIVersion returns the ARM API version of the resource. This is always "2022-07-01" +func (host BastionHost) GetAPIVersion() string { + return string(APIVersion_Value) +} + +// GetResourceScope returns the scope of the resource +func (host *BastionHost) GetResourceScope() genruntime.ResourceScope { + return genruntime.ResourceScopeResourceGroup +} + +// GetSpec returns the specification of this resource +func (host *BastionHost) GetSpec() genruntime.ConvertibleSpec { + return &host.Spec +} + +// GetStatus returns the status of this resource +func (host *BastionHost) GetStatus() genruntime.ConvertibleStatus { + return &host.Status +} + +// GetType returns the ARM Type of the resource. This is always "Microsoft.Network/bastionHosts" +func (host *BastionHost) GetType() string { + return "Microsoft.Network/bastionHosts" +} + +// NewEmptyStatus returns a new empty (blank) status +func (host *BastionHost) NewEmptyStatus() genruntime.ConvertibleStatus { + return &BastionHost_STATUS{} +} + +// Owner returns the ResourceReference of the owner +func (host *BastionHost) Owner() *genruntime.ResourceReference { + group, kind := genruntime.LookupOwnerGroupKind(host.Spec) + return &genruntime.ResourceReference{ + Group: group, + Kind: kind, + Name: host.Spec.Owner.Name, + } +} + +// SetStatus sets the status of this resource +func (host *BastionHost) SetStatus(status genruntime.ConvertibleStatus) error { + // If we have exactly the right type of status, assign it + if st, ok := status.(*BastionHost_STATUS); ok { + host.Status = *st + return nil + } + + // Convert status to required version + var st BastionHost_STATUS + err := status.ConvertStatusTo(&st) + if err != nil { + return errors.Wrap(err, "failed to convert status") + } + + host.Status = st + return nil +} + +// Hub marks that this BastionHost is the hub type for conversion +func (host *BastionHost) Hub() {} + +// OriginalGVK returns a GroupValueKind for the original API version used to create the resource +func (host *BastionHost) OriginalGVK() *schema.GroupVersionKind { + return &schema.GroupVersionKind{ + Group: GroupVersion.Group, + Version: host.Spec.OriginalVersion, + Kind: "BastionHost", + } +} + +// +kubebuilder:object:root=true +// Storage version of v1api20220701.BastionHost +// Generator information: +// - Generated from: /network/resource-manager/Microsoft.Network/stable/2022-07-01/bastionHost.json +// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName} +type BastionHostList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []BastionHost `json:"items"` +} + +// Storage version of v1api20220701.APIVersion +// +kubebuilder:validation:Enum={"2022-07-01"} +type APIVersion string + +const APIVersion_Value = APIVersion("2022-07-01") + +// Storage version of v1api20220701.BastionHost_Spec +type BastionHost_Spec struct { + // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it + // doesn't have to be. + AzureName string `json:"azureName,omitempty"` + DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` + DnsName *string `json:"dnsName,omitempty"` + EnableFileCopy *bool `json:"enableFileCopy,omitempty"` + EnableIpConnect *bool `json:"enableIpConnect,omitempty"` + EnableShareableLink *bool `json:"enableShareableLink,omitempty"` + EnableTunneling *bool `json:"enableTunneling,omitempty"` + IpConfigurations []BastionHostIPConfiguration `json:"ipConfigurations,omitempty"` + Location *string `json:"location,omitempty"` + OriginalVersion string `json:"originalVersion,omitempty"` + + // +kubebuilder:validation:Required + // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also + // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a + // reference to a resources.azure.com/ResourceGroup resource + Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"` + PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` + ScaleUnits *int `json:"scaleUnits,omitempty"` + Sku *Sku `json:"sku,omitempty"` + Tags map[string]string `json:"tags,omitempty"` +} + +var _ genruntime.ConvertibleSpec = &BastionHost_Spec{} + +// ConvertSpecFrom populates our BastionHost_Spec from the provided source +func (host *BastionHost_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error { + if source == host { + return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleSpec") + } + + return source.ConvertSpecTo(host) +} + +// ConvertSpecTo populates the provided destination from our BastionHost_Spec +func (host *BastionHost_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error { + if destination == host { + return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleSpec") + } + + return destination.ConvertSpecFrom(host) +} + +// Storage version of v1api20220701.BastionHost_STATUS +// Bastion Host resource. +type BastionHost_STATUS struct { + Conditions []conditions.Condition `json:"conditions,omitempty"` + DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` + DnsName *string `json:"dnsName,omitempty"` + EnableFileCopy *bool `json:"enableFileCopy,omitempty"` + EnableIpConnect *bool `json:"enableIpConnect,omitempty"` + EnableShareableLink *bool `json:"enableShareableLink,omitempty"` + EnableTunneling *bool `json:"enableTunneling,omitempty"` + Etag *string `json:"etag,omitempty"` + Id *string `json:"id,omitempty"` + IpConfigurations []BastionHostIPConfiguration_STATUS `json:"ipConfigurations,omitempty"` + Location *string `json:"location,omitempty"` + Name *string `json:"name,omitempty"` + PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` + ProvisioningState *string `json:"provisioningState,omitempty"` + ScaleUnits *int `json:"scaleUnits,omitempty"` + Sku *Sku_STATUS `json:"sku,omitempty"` + Tags map[string]string `json:"tags,omitempty"` + Type *string `json:"type,omitempty"` +} + +var _ genruntime.ConvertibleStatus = &BastionHost_STATUS{} + +// ConvertStatusFrom populates our BastionHost_STATUS from the provided source +func (host *BastionHost_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error { + if source == host { + return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleStatus") + } + + return source.ConvertStatusTo(host) +} + +// ConvertStatusTo populates the provided destination from our BastionHost_STATUS +func (host *BastionHost_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error { + if destination == host { + return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleStatus") + } + + return destination.ConvertStatusFrom(host) +} + +// Storage version of v1api20220701.BastionHostIPConfiguration +// IP configuration of an Bastion Host. +type BastionHostIPConfiguration struct { + Name *string `json:"name,omitempty"` + PrivateIPAllocationMethod *string `json:"privateIPAllocationMethod,omitempty"` + PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` + PublicIPAddress *BastionHostSubResource `json:"publicIPAddress,omitempty"` + Subnet *BastionHostSubResource `json:"subnet,omitempty"` +} + +// Storage version of v1api20220701.BastionHostIPConfiguration_STATUS +// IP configuration of an Bastion Host. +type BastionHostIPConfiguration_STATUS struct { + Id *string `json:"id,omitempty"` + PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` +} + +// Storage version of v1api20220701.Sku +// The sku of this Bastion Host. +type Sku struct { + Name *string `json:"name,omitempty"` + PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` +} + +// Storage version of v1api20220701.Sku_STATUS +// The sku of this Bastion Host. +type Sku_STATUS struct { + Name *string `json:"name,omitempty"` + PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` +} + +// Storage version of v1api20220701.BastionHostSubResource +// Reference to another subresource. +type BastionHostSubResource struct { + PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"` + + // Reference: Resource ID. + Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"` +} + +func init() { + SchemeBuilder.Register(&BastionHost{}, &BastionHostList{}) +} diff --git a/v2/api/network/v1api20220701storage/bastion_host_types_gen_test.go b/v2/api/network/v1api20220701storage/bastion_host_types_gen_test.go new file mode 100644 index 00000000000..ea186b091dc --- /dev/null +++ b/v2/api/network/v1api20220701storage/bastion_host_types_gen_test.go @@ -0,0 +1,565 @@ +// Code generated by azure-service-operator-codegen. DO NOT EDIT. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +package v1api20220701storage + +import ( + "encoding/json" + "github.com/google/go-cmp/cmp" + "github.com/google/go-cmp/cmp/cmpopts" + "github.com/kr/pretty" + "github.com/kylelemons/godebug/diff" + "github.com/leanovate/gopter" + "github.com/leanovate/gopter/gen" + "github.com/leanovate/gopter/prop" + "os" + "reflect" + "testing" +) + +func Test_BastionHost_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 20 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHost via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHost, BastionHostGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHost runs a test to see if a specific instance of BastionHost round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHost(subject BastionHost) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHost + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHost instances for property testing - lazily instantiated by BastionHostGenerator() +var bastionHostGenerator gopter.Gen + +// BastionHostGenerator returns a generator of BastionHost instances for property testing. +func BastionHostGenerator() gopter.Gen { + if bastionHostGenerator != nil { + return bastionHostGenerator + } + + generators := make(map[string]gopter.Gen) + AddRelatedPropertyGeneratorsForBastionHost(generators) + bastionHostGenerator = gen.Struct(reflect.TypeOf(BastionHost{}), generators) + + return bastionHostGenerator +} + +// AddRelatedPropertyGeneratorsForBastionHost is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHost(gens map[string]gopter.Gen) { + gens["Spec"] = BastionHost_SpecGenerator() + gens["Status"] = BastionHost_STATUSGenerator() +} + +func Test_BastionHost_Spec_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHost_Spec via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHost_Spec, BastionHost_SpecGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHost_Spec runs a test to see if a specific instance of BastionHost_Spec round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHost_Spec(subject BastionHost_Spec) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHost_Spec + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHost_Spec instances for property testing - lazily instantiated by BastionHost_SpecGenerator() +var bastionHost_SpecGenerator gopter.Gen + +// BastionHost_SpecGenerator returns a generator of BastionHost_Spec instances for property testing. +// We first initialize bastionHost_SpecGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHost_SpecGenerator() gopter.Gen { + if bastionHost_SpecGenerator != nil { + return bastionHost_SpecGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_Spec(generators) + bastionHost_SpecGenerator = gen.Struct(reflect.TypeOf(BastionHost_Spec{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_Spec(generators) + AddRelatedPropertyGeneratorsForBastionHost_Spec(generators) + bastionHost_SpecGenerator = gen.Struct(reflect.TypeOf(BastionHost_Spec{}), generators) + + return bastionHost_SpecGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHost_Spec is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHost_Spec(gens map[string]gopter.Gen) { + gens["AzureName"] = gen.AlphaString() + gens["DisableCopyPaste"] = gen.PtrOf(gen.Bool()) + gens["DnsName"] = gen.PtrOf(gen.AlphaString()) + gens["EnableFileCopy"] = gen.PtrOf(gen.Bool()) + gens["EnableIpConnect"] = gen.PtrOf(gen.Bool()) + gens["EnableShareableLink"] = gen.PtrOf(gen.Bool()) + gens["EnableTunneling"] = gen.PtrOf(gen.Bool()) + gens["Location"] = gen.PtrOf(gen.AlphaString()) + gens["OriginalVersion"] = gen.AlphaString() + gens["ScaleUnits"] = gen.PtrOf(gen.Int()) + gens["Tags"] = gen.MapOf(gen.AlphaString(), gen.AlphaString()) +} + +// AddRelatedPropertyGeneratorsForBastionHost_Spec is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHost_Spec(gens map[string]gopter.Gen) { + gens["IpConfigurations"] = gen.SliceOf(BastionHostIPConfigurationGenerator()) + gens["Sku"] = gen.PtrOf(SkuGenerator()) +} + +func Test_BastionHost_STATUS_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHost_STATUS via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHost_STATUS, BastionHost_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHost_STATUS runs a test to see if a specific instance of BastionHost_STATUS round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHost_STATUS(subject BastionHost_STATUS) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHost_STATUS + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHost_STATUS instances for property testing - lazily instantiated by BastionHost_STATUSGenerator() +var bastionHost_STATUSGenerator gopter.Gen + +// BastionHost_STATUSGenerator returns a generator of BastionHost_STATUS instances for property testing. +// We first initialize bastionHost_STATUSGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHost_STATUSGenerator() gopter.Gen { + if bastionHost_STATUSGenerator != nil { + return bastionHost_STATUSGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_STATUS(generators) + bastionHost_STATUSGenerator = gen.Struct(reflect.TypeOf(BastionHost_STATUS{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHost_STATUS(generators) + AddRelatedPropertyGeneratorsForBastionHost_STATUS(generators) + bastionHost_STATUSGenerator = gen.Struct(reflect.TypeOf(BastionHost_STATUS{}), generators) + + return bastionHost_STATUSGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHost_STATUS is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHost_STATUS(gens map[string]gopter.Gen) { + gens["DisableCopyPaste"] = gen.PtrOf(gen.Bool()) + gens["DnsName"] = gen.PtrOf(gen.AlphaString()) + gens["EnableFileCopy"] = gen.PtrOf(gen.Bool()) + gens["EnableIpConnect"] = gen.PtrOf(gen.Bool()) + gens["EnableShareableLink"] = gen.PtrOf(gen.Bool()) + gens["EnableTunneling"] = gen.PtrOf(gen.Bool()) + gens["Etag"] = gen.PtrOf(gen.AlphaString()) + gens["Id"] = gen.PtrOf(gen.AlphaString()) + gens["Location"] = gen.PtrOf(gen.AlphaString()) + gens["Name"] = gen.PtrOf(gen.AlphaString()) + gens["ProvisioningState"] = gen.PtrOf(gen.AlphaString()) + gens["ScaleUnits"] = gen.PtrOf(gen.Int()) + gens["Tags"] = gen.MapOf(gen.AlphaString(), gen.AlphaString()) + gens["Type"] = gen.PtrOf(gen.AlphaString()) +} + +// AddRelatedPropertyGeneratorsForBastionHost_STATUS is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHost_STATUS(gens map[string]gopter.Gen) { + gens["IpConfigurations"] = gen.SliceOf(BastionHostIPConfiguration_STATUSGenerator()) + gens["Sku"] = gen.PtrOf(Sku_STATUSGenerator()) +} + +func Test_BastionHostIPConfiguration_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostIPConfiguration via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostIPConfiguration, BastionHostIPConfigurationGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostIPConfiguration runs a test to see if a specific instance of BastionHostIPConfiguration round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostIPConfiguration(subject BastionHostIPConfiguration) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostIPConfiguration + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostIPConfiguration instances for property testing - lazily instantiated by +// BastionHostIPConfigurationGenerator() +var bastionHostIPConfigurationGenerator gopter.Gen + +// BastionHostIPConfigurationGenerator returns a generator of BastionHostIPConfiguration instances for property testing. +// We first initialize bastionHostIPConfigurationGenerator with a simplified generator based on the +// fields with primitive types then replacing it with a more complex one that also handles complex fields +// to ensure any cycles in the object graph properly terminate. +func BastionHostIPConfigurationGenerator() gopter.Gen { + if bastionHostIPConfigurationGenerator != nil { + return bastionHostIPConfigurationGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration(generators) + bastionHostIPConfigurationGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration{}), generators) + + // The above call to gen.Struct() captures the map, so create a new one + generators = make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration(generators) + AddRelatedPropertyGeneratorsForBastionHostIPConfiguration(generators) + bastionHostIPConfigurationGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration{}), generators) + + return bastionHostIPConfigurationGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostIPConfiguration is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostIPConfiguration(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.AlphaString()) + gens["PrivateIPAllocationMethod"] = gen.PtrOf(gen.AlphaString()) +} + +// AddRelatedPropertyGeneratorsForBastionHostIPConfiguration is a factory method for creating gopter generators +func AddRelatedPropertyGeneratorsForBastionHostIPConfiguration(gens map[string]gopter.Gen) { + gens["PublicIPAddress"] = gen.PtrOf(BastionHostSubResourceGenerator()) + gens["Subnet"] = gen.PtrOf(BastionHostSubResourceGenerator()) +} + +func Test_BastionHostIPConfiguration_STATUS_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostIPConfiguration_STATUS via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostIPConfiguration_STATUS, BastionHostIPConfiguration_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostIPConfiguration_STATUS runs a test to see if a specific instance of BastionHostIPConfiguration_STATUS round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostIPConfiguration_STATUS(subject BastionHostIPConfiguration_STATUS) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostIPConfiguration_STATUS + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostIPConfiguration_STATUS instances for property testing - lazily instantiated by +// BastionHostIPConfiguration_STATUSGenerator() +var bastionHostIPConfiguration_STATUSGenerator gopter.Gen + +// BastionHostIPConfiguration_STATUSGenerator returns a generator of BastionHostIPConfiguration_STATUS instances for property testing. +func BastionHostIPConfiguration_STATUSGenerator() gopter.Gen { + if bastionHostIPConfiguration_STATUSGenerator != nil { + return bastionHostIPConfiguration_STATUSGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS(generators) + bastionHostIPConfiguration_STATUSGenerator = gen.Struct(reflect.TypeOf(BastionHostIPConfiguration_STATUS{}), generators) + + return bastionHostIPConfiguration_STATUSGenerator +} + +// AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForBastionHostIPConfiguration_STATUS(gens map[string]gopter.Gen) { + gens["Id"] = gen.PtrOf(gen.AlphaString()) +} + +func Test_Sku_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of Sku via JSON returns original", + prop.ForAll(RunJSONSerializationTestForSku, SkuGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForSku runs a test to see if a specific instance of Sku round trips to JSON and back losslessly +func RunJSONSerializationTestForSku(subject Sku) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual Sku + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of Sku instances for property testing - lazily instantiated by SkuGenerator() +var skuGenerator gopter.Gen + +// SkuGenerator returns a generator of Sku instances for property testing. +func SkuGenerator() gopter.Gen { + if skuGenerator != nil { + return skuGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForSku(generators) + skuGenerator = gen.Struct(reflect.TypeOf(Sku{}), generators) + + return skuGenerator +} + +// AddIndependentPropertyGeneratorsForSku is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForSku(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.AlphaString()) +} + +func Test_Sku_STATUS_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 80 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of Sku_STATUS via JSON returns original", + prop.ForAll(RunJSONSerializationTestForSku_STATUS, Sku_STATUSGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForSku_STATUS runs a test to see if a specific instance of Sku_STATUS round trips to JSON and back losslessly +func RunJSONSerializationTestForSku_STATUS(subject Sku_STATUS) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual Sku_STATUS + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of Sku_STATUS instances for property testing - lazily instantiated by Sku_STATUSGenerator() +var sku_STATUSGenerator gopter.Gen + +// Sku_STATUSGenerator returns a generator of Sku_STATUS instances for property testing. +func Sku_STATUSGenerator() gopter.Gen { + if sku_STATUSGenerator != nil { + return sku_STATUSGenerator + } + + generators := make(map[string]gopter.Gen) + AddIndependentPropertyGeneratorsForSku_STATUS(generators) + sku_STATUSGenerator = gen.Struct(reflect.TypeOf(Sku_STATUS{}), generators) + + return sku_STATUSGenerator +} + +// AddIndependentPropertyGeneratorsForSku_STATUS is a factory method for creating gopter generators +func AddIndependentPropertyGeneratorsForSku_STATUS(gens map[string]gopter.Gen) { + gens["Name"] = gen.PtrOf(gen.AlphaString()) +} + +func Test_BastionHostSubResource_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) { + t.Parallel() + parameters := gopter.DefaultTestParameters() + parameters.MinSuccessfulTests = 100 + parameters.MaxSize = 3 + properties := gopter.NewProperties(parameters) + properties.Property( + "Round trip of BastionHostSubResource via JSON returns original", + prop.ForAll(RunJSONSerializationTestForBastionHostSubResource, BastionHostSubResourceGenerator())) + properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout)) +} + +// RunJSONSerializationTestForBastionHostSubResource runs a test to see if a specific instance of BastionHostSubResource round trips to JSON and back losslessly +func RunJSONSerializationTestForBastionHostSubResource(subject BastionHostSubResource) string { + // Serialize to JSON + bin, err := json.Marshal(subject) + if err != nil { + return err.Error() + } + + // Deserialize back into memory + var actual BastionHostSubResource + err = json.Unmarshal(bin, &actual) + if err != nil { + return err.Error() + } + + // Check for outcome + match := cmp.Equal(subject, actual, cmpopts.EquateEmpty()) + if !match { + actualFmt := pretty.Sprint(actual) + subjectFmt := pretty.Sprint(subject) + result := diff.Diff(subjectFmt, actualFmt) + return result + } + + return "" +} + +// Generator of BastionHostSubResource instances for property testing - lazily instantiated by +// BastionHostSubResourceGenerator() +var bastionHostSubResourceGenerator gopter.Gen + +// BastionHostSubResourceGenerator returns a generator of BastionHostSubResource instances for property testing. +func BastionHostSubResourceGenerator() gopter.Gen { + if bastionHostSubResourceGenerator != nil { + return bastionHostSubResourceGenerator + } + + generators := make(map[string]gopter.Gen) + bastionHostSubResourceGenerator = gen.Struct(reflect.TypeOf(BastionHostSubResource{}), generators) + + return bastionHostSubResourceGenerator +} diff --git a/v2/api/network/v1api20220701storage/private_endpoint_types_gen.go b/v2/api/network/v1api20220701storage/private_endpoint_types_gen.go index 59605dea5dc..9651f8f4ba5 100644 --- a/v2/api/network/v1api20220701storage/private_endpoint_types_gen.go +++ b/v2/api/network/v1api20220701storage/private_endpoint_types_gen.go @@ -133,12 +133,6 @@ type PrivateEndpointList struct { Items []PrivateEndpoint `json:"items"` } -// Storage version of v1api20220701.APIVersion -// +kubebuilder:validation:Enum={"2022-07-01"} -type APIVersion string - -const APIVersion_Value = APIVersion("2022-07-01") - // Storage version of v1api20220701.PrivateEndpoint_Spec type PrivateEndpoint_Spec struct { ApplicationSecurityGroups []ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded `json:"applicationSecurityGroups,omitempty"` diff --git a/v2/api/network/v1api20220701storage/structure.txt b/v2/api/network/v1api20220701storage/structure.txt index 9f24b79c0d5..a007abb5825 100644 --- a/v2/api/network/v1api20220701storage/structure.txt +++ b/v2/api/network/v1api20220701storage/structure.txt @@ -1,6 +1,58 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20220701storage ├── APIVersion: Enum (1 value) │ └── "2022-07-01" +├── BastionHost: Resource +│ ├── Owner: github.com/Azure/azure-service-operator/v2/api/resources/v1apiv20191001.ResourceGroup +│ ├── Spec: Object (15 properties) +│ │ ├── AzureName: string +│ │ ├── DisableCopyPaste: *bool +│ │ ├── DnsName: *string +│ │ ├── EnableFileCopy: *bool +│ │ ├── EnableIpConnect: *bool +│ │ ├── EnableShareableLink: *bool +│ │ ├── EnableTunneling: *bool +│ │ ├── IpConfigurations: Object (5 properties)[] +│ │ │ ├── Name: *string +│ │ │ ├── PrivateIPAllocationMethod: *string +│ │ │ ├── PropertyBag: genruntime.PropertyBag +│ │ │ ├── PublicIPAddress: *Object (2 properties) +│ │ │ │ ├── PropertyBag: genruntime.PropertyBag +│ │ │ │ └── Reference: *genruntime.ResourceReference +│ │ │ └── Subnet: *Object (2 properties) +│ │ │ ├── PropertyBag: genruntime.PropertyBag +│ │ │ └── Reference: *genruntime.ResourceReference +│ │ ├── Location: *string +│ │ ├── OriginalVersion: string +│ │ ├── Owner: *genruntime.KnownResourceReference +│ │ ├── PropertyBag: genruntime.PropertyBag +│ │ ├── ScaleUnits: *int +│ │ ├── Sku: *Object (2 properties) +│ │ │ ├── Name: *string +│ │ │ └── PropertyBag: genruntime.PropertyBag +│ │ └── Tags: map[string]string +│ └── Status: Object (18 properties) +│ ├── Conditions: conditions.Condition[] +│ ├── DisableCopyPaste: *bool +│ ├── DnsName: *string +│ ├── EnableFileCopy: *bool +│ ├── EnableIpConnect: *bool +│ ├── EnableShareableLink: *bool +│ ├── EnableTunneling: *bool +│ ├── Etag: *string +│ ├── Id: *string +│ ├── IpConfigurations: Object (2 properties)[] +│ │ ├── Id: *string +│ │ └── PropertyBag: genruntime.PropertyBag +│ ├── Location: *string +│ ├── Name: *string +│ ├── PropertyBag: genruntime.PropertyBag +│ ├── ProvisioningState: *string +│ ├── ScaleUnits: *int +│ ├── Sku: *Object (2 properties) +│ │ ├── Name: *string +│ │ └── PropertyBag: genruntime.PropertyBag +│ ├── Tags: map[string]string +│ └── Type: *string ├── PrivateEndpoint: Resource │ ├── Owner: github.com/Azure/azure-service-operator/v2/api/resources/v1apiv20191001.ResourceGroup │ ├── Spec: Object (13 properties) diff --git a/v2/api/network/v1api20220701storage/zz_generated.deepcopy.go b/v2/api/network/v1api20220701storage/zz_generated.deepcopy.go index 8d9144dd0c9..536fc96a3fb 100644 --- a/v2/api/network/v1api20220701storage/zz_generated.deepcopy.go +++ b/v2/api/network/v1api20220701storage/zz_generated.deepcopy.go @@ -70,6 +70,360 @@ func (in *ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) D return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost) DeepCopyInto(out *BastionHost) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost. +func (in *BastionHost) DeepCopy() *BastionHost { + if in == nil { + return nil + } + out := new(BastionHost) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BastionHost) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostIPConfiguration) DeepCopyInto(out *BastionHostIPConfiguration) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateIPAllocationMethod != nil { + in, out := &in.PrivateIPAllocationMethod, &out.PrivateIPAllocationMethod + *out = new(string) + **out = **in + } + if in.PropertyBag != nil { + in, out := &in.PropertyBag, &out.PropertyBag + *out = make(genruntime.PropertyBag, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.PublicIPAddress != nil { + in, out := &in.PublicIPAddress, &out.PublicIPAddress + *out = new(BastionHostSubResource) + (*in).DeepCopyInto(*out) + } + if in.Subnet != nil { + in, out := &in.Subnet, &out.Subnet + *out = new(BastionHostSubResource) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostIPConfiguration. +func (in *BastionHostIPConfiguration) DeepCopy() *BastionHostIPConfiguration { + if in == nil { + return nil + } + out := new(BastionHostIPConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostIPConfiguration_STATUS) DeepCopyInto(out *BastionHostIPConfiguration_STATUS) { + *out = *in + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } + if in.PropertyBag != nil { + in, out := &in.PropertyBag, &out.PropertyBag + *out = make(genruntime.PropertyBag, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostIPConfiguration_STATUS. +func (in *BastionHostIPConfiguration_STATUS) DeepCopy() *BastionHostIPConfiguration_STATUS { + if in == nil { + return nil + } + out := new(BastionHostIPConfiguration_STATUS) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostList) DeepCopyInto(out *BastionHostList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]BastionHost, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostList. +func (in *BastionHostList) DeepCopy() *BastionHostList { + if in == nil { + return nil + } + out := new(BastionHostList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BastionHostList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHostSubResource) DeepCopyInto(out *BastionHostSubResource) { + *out = *in + if in.PropertyBag != nil { + in, out := &in.PropertyBag, &out.PropertyBag + *out = make(genruntime.PropertyBag, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Reference != nil { + in, out := &in.Reference, &out.Reference + *out = new(genruntime.ResourceReference) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHostSubResource. +func (in *BastionHostSubResource) DeepCopy() *BastionHostSubResource { + if in == nil { + return nil + } + out := new(BastionHostSubResource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost_STATUS) DeepCopyInto(out *BastionHost_STATUS) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]conditions.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DisableCopyPaste != nil { + in, out := &in.DisableCopyPaste, &out.DisableCopyPaste + *out = new(bool) + **out = **in + } + if in.DnsName != nil { + in, out := &in.DnsName, &out.DnsName + *out = new(string) + **out = **in + } + if in.EnableFileCopy != nil { + in, out := &in.EnableFileCopy, &out.EnableFileCopy + *out = new(bool) + **out = **in + } + if in.EnableIpConnect != nil { + in, out := &in.EnableIpConnect, &out.EnableIpConnect + *out = new(bool) + **out = **in + } + if in.EnableShareableLink != nil { + in, out := &in.EnableShareableLink, &out.EnableShareableLink + *out = new(bool) + **out = **in + } + if in.EnableTunneling != nil { + in, out := &in.EnableTunneling, &out.EnableTunneling + *out = new(bool) + **out = **in + } + if in.Etag != nil { + in, out := &in.Etag, &out.Etag + *out = new(string) + **out = **in + } + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } + if in.IpConfigurations != nil { + in, out := &in.IpConfigurations, &out.IpConfigurations + *out = make([]BastionHostIPConfiguration_STATUS, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertyBag != nil { + in, out := &in.PropertyBag, &out.PropertyBag + *out = make(genruntime.PropertyBag, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.ProvisioningState != nil { + in, out := &in.ProvisioningState, &out.ProvisioningState + *out = new(string) + **out = **in + } + if in.ScaleUnits != nil { + in, out := &in.ScaleUnits, &out.ScaleUnits + *out = new(int) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(Sku_STATUS) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost_STATUS. +func (in *BastionHost_STATUS) DeepCopy() *BastionHost_STATUS { + if in == nil { + return nil + } + out := new(BastionHost_STATUS) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost_Spec) DeepCopyInto(out *BastionHost_Spec) { + *out = *in + if in.DisableCopyPaste != nil { + in, out := &in.DisableCopyPaste, &out.DisableCopyPaste + *out = new(bool) + **out = **in + } + if in.DnsName != nil { + in, out := &in.DnsName, &out.DnsName + *out = new(string) + **out = **in + } + if in.EnableFileCopy != nil { + in, out := &in.EnableFileCopy, &out.EnableFileCopy + *out = new(bool) + **out = **in + } + if in.EnableIpConnect != nil { + in, out := &in.EnableIpConnect, &out.EnableIpConnect + *out = new(bool) + **out = **in + } + if in.EnableShareableLink != nil { + in, out := &in.EnableShareableLink, &out.EnableShareableLink + *out = new(bool) + **out = **in + } + if in.EnableTunneling != nil { + in, out := &in.EnableTunneling, &out.EnableTunneling + *out = new(bool) + **out = **in + } + if in.IpConfigurations != nil { + in, out := &in.IpConfigurations, &out.IpConfigurations + *out = make([]BastionHostIPConfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Owner != nil { + in, out := &in.Owner, &out.Owner + *out = new(genruntime.KnownResourceReference) + **out = **in + } + if in.PropertyBag != nil { + in, out := &in.PropertyBag, &out.PropertyBag + *out = make(genruntime.PropertyBag, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.ScaleUnits != nil { + in, out := &in.ScaleUnits, &out.ScaleUnits + *out = new(int) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(Sku) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost_Spec. +func (in *BastionHost_Spec) DeepCopy() *BastionHost_Spec { + if in == nil { + return nil + } + out := new(BastionHost_Spec) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CustomDnsConfigPropertiesFormat_STATUS) DeepCopyInto(out *CustomDnsConfigPropertiesFormat_STATUS) { *out = *in @@ -1617,6 +1971,60 @@ func (in *ResourceSet_STATUS) DeepCopy() *ResourceSet_STATUS { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku) DeepCopyInto(out *Sku) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertyBag != nil { + in, out := &in.PropertyBag, &out.PropertyBag + *out = make(genruntime.PropertyBag, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku. +func (in *Sku) DeepCopy() *Sku { + if in == nil { + return nil + } + out := new(Sku) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku_STATUS) DeepCopyInto(out *Sku_STATUS) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertyBag != nil { + in, out := &in.PropertyBag, &out.PropertyBag + *out = make(genruntime.PropertyBag, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku_STATUS. +func (in *Sku_STATUS) DeepCopy() *Sku_STATUS { + if in == nil { + return nil + } + out := new(Sku_STATUS) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Subnet_PrivateEndpoint_SubResourceEmbedded) DeepCopyInto(out *Subnet_PrivateEndpoint_SubResourceEmbedded) { *out = *in diff --git a/v2/api/network/versions_matrix.md b/v2/api/network/versions_matrix.md index f55db8ac955..b257620ed98 100644 --- a/v2/api/network/versions_matrix.md +++ b/v2/api/network/versions_matrix.md @@ -25,6 +25,16 @@ | BackendAddressPool_NetworkInterface_SubResourceEmbedded | | | v1api20201101 | | | v1beta20201101 | | BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded | | | v1api20201101 | | | v1beta20201101 | | BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded | | | v1api20201101 | | | v1beta20201101 | +| BastionHost | | | | v1api20220701 | | | +| BastionHostIPConfiguration | | | | v1api20220701 | | | +| BastionHostIPConfigurationPropertiesFormat | | | | v1api20220701 | | | +| BastionHostIPConfiguration_STATUS | | | | v1api20220701 | | | +| BastionHostPropertiesFormat | | | | v1api20220701 | | | +| BastionHostPropertiesFormat_STATUS | | | | v1api20220701 | | | +| BastionHostProvisioningState_STATUS | | | | v1api20220701 | | | +| BastionHostSubResource | | | | v1api20220701 | | | +| BastionHost_STATUS | | | | v1api20220701 | | | +| BastionHost_Spec | | | | v1api20220701 | | | | BgpSettings | | | v1api20201101 | | | v1beta20201101 | | BgpSettings_STATUS | | | v1api20201101 | | | v1beta20201101 | | CnameRecord | | v1api20200601 | | | | | @@ -284,6 +294,10 @@ | ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded | | | v1api20201101 | | | v1beta20201101 | | ServiceEndpointPropertiesFormat | | | v1api20201101 | | | v1beta20201101 | | ServiceEndpointPropertiesFormat_STATUS | | | v1api20201101 | | | v1beta20201101 | +| Sku | | | | v1api20220701 | | | +| Sku_Name | | | | v1api20220701 | | | +| Sku_Name_STATUS | | | | v1api20220701 | | | +| Sku_STATUS | | | | v1api20220701 | | | | SoaRecord | | v1api20200601 | | | | | | SoaRecord_STATUS | | v1api20200601 | | | | | | SrvRecord | | v1api20200601 | | | | | diff --git a/v2/azure-arm.yaml b/v2/azure-arm.yaml index 039fbbae19f..80bd2d499e6 100644 --- a/v2/azure-arm.yaml +++ b/v2/azure-arm.yaml @@ -1336,6 +1336,13 @@ objectModelConfiguration: $exportAs: VirtualNetworksVirtualNetworkPeering $supportedFrom: v2.0.0-alpha.1 2022-07-01: + BastionHost: + # This technically supports 2022-09-01 API version too, but it's identical to the 2022-07-01 version + # so limiting proliferation of APIVersions and using 2022-07-01 for it + $export: true + $supportedFrom: v2.1.0 + BastionHostIPConfiguration: + $resourceEmbeddedInParent: BastionHost PrivateEndpoint: $export: true $supportedFrom: v2.0.0 diff --git a/v2/internal/controllers/controller_resources_gen.go b/v2/internal/controllers/controller_resources_gen.go index b9a5296a59b..23e8300f3ca 100644 --- a/v2/internal/controllers/controller_resources_gen.go +++ b/v2/internal/controllers/controller_resources_gen.go @@ -475,6 +475,7 @@ func getKnownStorageTypes() []*registration.StorageType { result = append(result, ®istration.StorageType{Obj: new(network_v1api20201101s.VirtualNetworkGateway)}) result = append(result, ®istration.StorageType{Obj: new(network_v1api20201101s.VirtualNetworksSubnet)}) result = append(result, ®istration.StorageType{Obj: new(network_v1api20201101s.VirtualNetworksVirtualNetworkPeering)}) + result = append(result, ®istration.StorageType{Obj: new(network_v1api20220701s.BastionHost)}) result = append(result, ®istration.StorageType{Obj: new(network_v1api20220701s.PrivateEndpoint)}) result = append(result, ®istration.StorageType{Obj: new(network_v1api20220701s.PrivateEndpointsPrivateDnsZoneGroup)}) result = append(result, ®istration.StorageType{Obj: new(network_v1api20220701s.PrivateLinkService)}) @@ -1085,11 +1086,13 @@ func getKnownTypes() []client.Object { new(network_v1api20201101s.VirtualNetworksVirtualNetworkPeering)) result = append( result, + new(network_v1api20220701.BastionHost), new(network_v1api20220701.PrivateEndpoint), new(network_v1api20220701.PrivateEndpointsPrivateDnsZoneGroup), new(network_v1api20220701.PrivateLinkService)) result = append( result, + new(network_v1api20220701s.BastionHost), new(network_v1api20220701s.PrivateEndpoint), new(network_v1api20220701s.PrivateEndpointsPrivateDnsZoneGroup), new(network_v1api20220701s.PrivateLinkService)) @@ -1479,6 +1482,7 @@ func getResourceExtensions() []genruntime.ResourceExtension { result = append(result, &machinelearningservices_customizations.WorkspacesConnectionExtension{}) result = append(result, &managedidentity_customizations.FederatedIdentityCredentialExtension{}) result = append(result, &managedidentity_customizations.UserAssignedIdentityExtension{}) + result = append(result, &network_customizations.BastionHostExtension{}) result = append(result, &network_customizations.LoadBalancerExtension{}) result = append(result, &network_customizations.NetworkInterfaceExtension{}) result = append(result, &network_customizations.NetworkSecurityGroupExtension{}) diff --git a/v2/internal/controllers/crd_networking_bastionhost_test.go b/v2/internal/controllers/crd_networking_bastionhost_test.go new file mode 100644 index 00000000000..b8a7eb2aa65 --- /dev/null +++ b/v2/internal/controllers/crd_networking_bastionhost_test.go @@ -0,0 +1,76 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + +package controllers_test + +import ( + "testing" + + . "github.com/onsi/gomega" + + network2020 "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101" + network "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701" + "github.com/Azure/azure-service-operator/v2/internal/testcommon" + "github.com/Azure/azure-service-operator/v2/internal/util/to" +) + +// Refer to the follow ARM template examples: +// https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.network/azure-bastion/azuredeploy.json +// https://github.com/Azure/azure-quickstart-templates/blob/master/demos/private-aks-cluster/bastion.bicep + +func Test_Networking_BastionHost_CRUD(t *testing.T) { + t.Parallel() + + tc := globalTestContext.ForTest(t) + + rg := tc.CreateTestResourceGroupAndWait() + + vnet := newVNet(tc, testcommon.AsOwner(rg), []string{"10.0.0.0/8"}) + subnet := &network2020.VirtualNetworksSubnet{ + ObjectMeta: tc.MakeObjectMeta("subnet"), + Spec: network2020.VirtualNetworks_Subnet_Spec{ + Owner: testcommon.AsOwner(vnet), + AddressPrefix: to.Ptr("10.0.0.0/24"), + AzureName: "AzureBastionSubnet", // The subnet must have this name in Azure for Bastion to work + }, + } + publicIPAddress := newPublicIp(tc, testcommon.AsOwner(rg)) + + host := &network.BastionHost{ + ObjectMeta: tc.MakeObjectMeta("bastion"), + Spec: network.BastionHost_Spec{ + Owner: testcommon.AsOwner(rg), + Location: tc.AzureRegion, + IpConfigurations: []network.BastionHostIPConfiguration{ + { + Name: to.Ptr("IpConf"), + PublicIPAddress: &network.BastionHostSubResource{ + Reference: tc.MakeReferenceFromResource(publicIPAddress), + }, + Subnet: &network.BastionHostSubResource{ + Reference: tc.MakeReferenceFromResource(subnet), + }, + }, + }, + }, + } + + tc.CreateResourcesAndWait(vnet, subnet, publicIPAddress, host) + + tc.ExportAsSample(host) + + tc.Expect(host.Status.Id).ToNot(BeNil()) + armID := *publicIPAddress.Status.Id + + tc.DeleteResourceAndWait(host) + + tc.DeleteResourceAndWait(publicIPAddress) + + // Ensure that the resource was really deleted in Azure + exists, retryAfter, err := tc.AzureClient.HeadByID(tc.Ctx, armID, string(network.APIVersion_Value)) + tc.Expect(err).ToNot(HaveOccurred()) + tc.Expect(retryAfter).To(BeZero()) + tc.Expect(exists).To(BeFalse()) +} diff --git a/v2/internal/controllers/recordings/Test_Networking_BastionHost_CRUD.yaml b/v2/internal/controllers/recordings/Test_Networking_BastionHost_CRUD.yaml new file mode 100644 index 00000000000..213979a2d8d --- /dev/null +++ b/v2/internal/controllers/recordings/Test_Networking_BastionHost_CRUD.yaml @@ -0,0 +1,1674 @@ +--- +version: 1 +interactions: +- request: + body: '{"location":"westus2","name":"asotest-rg-uueexg","tags":{"CreatedAt":"2001-02-03T04:05:06Z"}}' + form: {} + headers: + Accept: + - application/json + Content-Length: + - "93" + Content-Type: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg?api-version=2020-06-01 + method: PUT + response: + body: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg","name":"asotest-rg-uueexg","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"CreatedAt":"2001-02-03T04:05:06Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "276" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg?api-version=2020-06-01 + method: GET + response: + body: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg","name":"asotest-rg-uueexg","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"CreatedAt":"2001-02-03T04:05:06Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"location":"westus2","name":"asotest-publicip-ssmcsj","properties":{"publicIPAllocationMethod":"Static"},"sku":{"name":"Standard"}}' + form: {} + headers: + Accept: + - application/json + Content-Length: + - "132" + Content-Type: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj?api-version=2020-11-01 + method: PUT + response: + body: "{\r\n \"name\": \"asotest-publicip-ssmcsj\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj\",\r\n + \ \"etag\": \"W/\\\"ca0656a5-fb43-4712-9bd0-d9c3beea5243\\\"\",\r\n \"location\": + \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"191387b9-9377-425c-a45f-489d2ccefa3f\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" + headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4658c1a0-8c06-4f92-ba86-6577eaaaabc5?api-version=2020-11-01 + Cache-Control: + - no-cache + Content-Length: + - "664" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "1" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 201 Created + code: 201 + duration: "" +- request: + body: '{"location":"westus2","name":"asotest-vn-kcnvju","properties":{"addressSpace":{"addressPrefixes":["10.0.0.0/8"]}}}' + form: {} + headers: + Accept: + - application/json + Content-Length: + - "114" + Content-Type: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju?api-version=2020-11-01 + method: PUT + response: + body: "{\r\n \"name\": \"asotest-vn-kcnvju\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju\",\r\n + \ \"etag\": \"W/\\\"ef645f73-d721-4a07-8cda-fe220ade8c12\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"e315d028-faab-49ef-9039-1846462d43e6\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/8\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/a51789ed-8b69-4192-9697-dce8fde19ab4?api-version=2020-11-01 + Cache-Control: + - no-cache + Content-Length: + - "629" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "3" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/a51789ed-8b69-4192-9697-dce8fde19ab4?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4658c1a0-8c06-4f92-ba86-6577eaaaabc5?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"name\": \"asotest-vn-kcnvju\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju\",\r\n + \ \"etag\": \"W/\\\"0e3edc28-fa36-446e-b3ab-79fc5571feff\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"e315d028-faab-49ef-9039-1846462d43e6\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/8\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Etag: + - W/"0e3edc28-fa36-446e-b3ab-79fc5571feff" + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"name\": \"asotest-publicip-ssmcsj\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj\",\r\n + \ \"etag\": \"W/\\\"cd2d8637-1452-4711-bbc1-8ed59ef4b5ca\\\"\",\r\n \"location\": + \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"191387b9-9377-425c-a45f-489d2ccefa3f\",\r\n \"ipAddress\": + \"20.230.216.47\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n },\r\n + \ \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": {\r\n \"name\": + \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Etag: + - W/"cd2d8637-1452-4711-bbc1-8ed59ef4b5ca" + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"name\": \"asotest-vn-kcnvju\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju\",\r\n + \ \"etag\": \"W/\\\"0e3edc28-fa36-446e-b3ab-79fc5571feff\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"e315d028-faab-49ef-9039-1846462d43e6\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/8\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Etag: + - W/"0e3edc28-fa36-446e-b3ab-79fc5571feff" + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"name\": \"asotest-publicip-ssmcsj\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj\",\r\n + \ \"etag\": \"W/\\\"cd2d8637-1452-4711-bbc1-8ed59ef4b5ca\\\"\",\r\n \"location\": + \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"191387b9-9377-425c-a45f-489d2ccefa3f\",\r\n \"ipAddress\": + \"20.230.216.47\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n },\r\n + \ \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": {\r\n \"name\": + \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Etag: + - W/"cd2d8637-1452-4711-bbc1-8ed59ef4b5ca" + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"name":"AzureBastionSubnet","properties":{"addressPrefix":"10.0.0.0/24"}}' + form: {} + headers: + Accept: + - application/json + Content-Length: + - "74" + Content-Type: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet?api-version=2020-11-01 + method: PUT + response: + body: "{\r\n \"name\": \"AzureBastionSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet\",\r\n + \ \"etag\": \"W/\\\"027ae57f-94ec-4aa1-bb35-0fe3ec29b04a\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0d649782-45af-4a67-8dec-b52a39595aae?api-version=2020-11-01 + Cache-Control: + - no-cache + Content-Length: + - "562" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "3" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0d649782-45af-4a67-8dec-b52a39595aae?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"location":"westus2","name":"asotest-bastion-qxburn","properties":{"ipConfigurations":[{"name":"IpConf","properties":{"publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet"}}}]}}' + form: {} + headers: + Accept: + - application/json + Content-Length: + - "497" + Content-Type: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn?api-version=2022-07-01 + method: PUT + response: + body: "{\r\n \"name\": \"asotest-bastion-qxburn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn\",\r\n + \ \"etag\": \"W/\\\"b2348c64-c948-4730-85cf-f90830525798\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"scaleUnits\": 2,\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"IpConf\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn/bastionHostIpConfigurations/IpConf\",\r\n + \ \"etag\": \"W/\\\"b2348c64-c948-4730-85cf-f90830525798\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet\"\r\n + \ }\r\n }\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": + \"Basic\"\r\n }\r\n}" + headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + Cache-Control: + - no-cache + Content-Length: + - "1461" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "10" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"name\": \"AzureBastionSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet\",\r\n + \ \"etag\": \"W/\\\"9dd676b9-08a5-4048-9574-d9aeb11356c2\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn/bastionHostIpConfigurations/IpConf\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Etag: + - W/"9dd676b9-08a5-4048-9574-d9aeb11356c2" + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"name\": \"AzureBastionSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet\",\r\n + \ \"etag\": \"W/\\\"9dd676b9-08a5-4048-9574-d9aeb11356c2\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn/bastionHostIpConfigurations/IpConf\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Etag: + - W/"9dd676b9-08a5-4048-9574-d9aeb11356c2" + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "10" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "20" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "2" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "20" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "3" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "40" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "4" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "40" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "5" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "80" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "6" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "160" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "7" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/600d2c1c-93ec-480a-9e4f-aa3519bd081e?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"name\": \"asotest-bastion-qxburn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn\",\r\n + \ \"etag\": \"W/\\\"29c7d959-1785-4529-86bc-0dc532d681d7\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"dnsName\": \"bst-f6eddd51-c9c6-4dfd-8580-2e731b04d0e2.bastion.azure.com\",\r\n + \ \"scaleUnits\": 2,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"IpConf\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn/bastionHostIpConfigurations/IpConf\",\r\n + \ \"etag\": \"W/\\\"29c7d959-1785-4529-86bc-0dc532d681d7\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet\"\r\n + \ }\r\n }\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": + \"Basic\"\r\n }\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Etag: + - W/"29c7d959-1785-4529-86bc-0dc532d681d7" + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"name\": \"asotest-bastion-qxburn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn\",\r\n + \ \"etag\": \"W/\\\"29c7d959-1785-4529-86bc-0dc532d681d7\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"dnsName\": \"bst-f6eddd51-c9c6-4dfd-8580-2e731b04d0e2.bastion.azure.com\",\r\n + \ \"scaleUnits\": 2,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"IpConf\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn/bastionHostIpConfigurations/IpConf\",\r\n + \ \"etag\": \"W/\\\"29c7d959-1785-4529-86bc-0dc532d681d7\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet\"\r\n + \ }\r\n }\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": + \"Basic\"\r\n }\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Etag: + - W/"29c7d959-1785-4529-86bc-0dc532d681d7" + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/bastionHosts/asotest-bastion-qxburn?api-version=2022-07-01 + method: DELETE + response: + body: "" + headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + Cache-Control: + - no-cache + Content-Length: + - "0" + Expires: + - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + Pragma: + - no-cache + Retry-After: + - "10" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "10" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "20" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "2" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "20" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "3" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "40" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "4" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "40" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "5" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "80" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "6" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "160" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "7" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "100" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "8" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b342e466-1109-46c4-a198-3c112a03954d?api-version=2022-07-01 + method: GET + response: + body: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj?api-version=2020-11-01 + method: DELETE + response: + body: "" + headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/98670f03-08ce-467a-90e6-c2c939bc968d?api-version=2020-11-01 + Cache-Control: + - no-cache + Content-Length: + - "0" + Expires: + - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/98670f03-08ce-467a-90e6-c2c939bc968d?api-version=2020-11-01 + Pragma: + - no-cache + Retry-After: + - "10" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/98670f03-08ce-467a-90e6-c2c939bc968d?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "10" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/98670f03-08ce-467a-90e6-c2c939bc968d?api-version=2020-11-01 + method: GET + response: + body: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + Cache-Control: + - no-cache + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj?api-version=2022-07-01 + method: GET + response: + body: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/publicIPAddresses/asotest-publicip-ssmcsj'' + under resource group ''asotest-rg-uueexg'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "248" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Failure-Cause: + - gateway + status: 404 Not Found + code: 404 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg?api-version=2020-06-01 + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Length: + - "0" + Expires: + - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + Pragma: + - no-cache + Retry-After: + - "15" + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + method: GET + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Length: + - "0" + Expires: + - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + Pragma: + - no-cache + Retry-After: + - "15" + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + method: GET + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Length: + - "0" + Expires: + - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + Pragma: + - no-cache + Retry-After: + - "15" + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "2" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + method: GET + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Length: + - "0" + Expires: + - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + Pragma: + - no-cache + Retry-After: + - "15" + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "3" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + method: GET + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Length: + - "0" + Expires: + - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + Pragma: + - no-cache + Retry-After: + - "15" + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 202 Accepted + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "4" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRVVUVFWEctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + method: GET + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Length: + - "0" + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju?api-version=2020-11-01 + method: DELETE + response: + body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-uueexg'' + could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "109" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Failure-Cause: + - gateway + status: 404 Not Found + code: 404 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-uueexg/providers/Microsoft.Network/virtualNetworks/asotest-vn-kcnvju/subnets/AzureBastionSubnet?api-version=2020-11-01 + method: DELETE + response: + body: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/virtualNetworks/asotest-vn-kcnvju'' + under resource group ''asotest-rg-uueexg'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "240" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Failure-Cause: + - gateway + status: 404 Not Found + code: 404 + duration: "" diff --git a/v2/internal/controllers/recordings/Test_Samples_CreationAndDeletion/Test_Network_v1api20220701_CreationAndDeletion.yaml b/v2/internal/controllers/recordings/Test_Samples_CreationAndDeletion/Test_Network_v1api20220701_CreationAndDeletion.yaml index a2738c993bf..c3ce6155c22 100644 --- a/v2/internal/controllers/recordings/Test_Samples_CreationAndDeletion/Test_Network_v1api20220701_CreationAndDeletion.yaml +++ b/v2/internal/controllers/recordings/Test_Samples_CreationAndDeletion/Test_Network_v1api20220701_CreationAndDeletion.yaml @@ -65,6 +65,105 @@ interactions: status: 200 OK code: 200 duration: "" +- request: + body: '{"location":"westus2","name":"bastionpublicip","properties":{"publicIPAllocationMethod":"Static"},"sku":{"name":"Standard"}}' + form: {} + headers: + Accept: + - application/json + Content-Length: + - "124" + Content-Type: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip?api-version=2020-11-01 + method: PUT + response: + body: "{\r\n \"name\": \"bastionpublicip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip\",\r\n + \ \"etag\": \"W/\\\"e9656f95-c2c1-448b-b6cb-0230fc5d6db8\\\"\",\r\n \"location\": + \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"993a59b9-8a60-4b4d-93fb-a261b2b6e802\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" + headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/baa0058b-5828-4caf-a767-85781ce8edee?api-version=2020-11-01 + Cache-Control: + - no-cache + Content-Length: + - "648" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "1" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 201 Created + code: 201 + duration: "" +- request: + body: '{"location":"westus2","name":"aso-sample-vn2","properties":{"addressSpace":{"addressPrefixes":["10.0.0.0/16"]}}}' + form: {} + headers: + Accept: + - application/json + Content-Length: + - "112" + Content-Type: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2?api-version=2020-11-01 + method: PUT + response: + body: "{\r\n \"name\": \"aso-sample-vn2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2\",\r\n + \ \"etag\": \"W/\\\"c169b899-cb8b-4675-b4de-eba4cb841046\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"f45990af-7cb1-48be-807d-813f0e81ed29\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/bfc8e119-96cc-4f1f-a8bc-fcd12dc7649c?api-version=2020-11-01 + Cache-Control: + - no-cache + Content-Length: + - "624" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "3" + Server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + status: 201 Created + code: 201 + duration: "" - request: body: '{"location":"westus2","name":"aso-sample-vn","properties":{"addressSpace":{"addressPrefixes":["10.0.0.0/16"]}}}' form: {} @@ -81,9 +180,9 @@ interactions: method: PUT response: body: "{\r\n \"name\": \"aso-sample-vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn\",\r\n - \ \"etag\": \"W/\\\"feb841e3-ecae-4f3c-9fa6-5c1d301bdf32\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4a5f0281-caec-4a1c-ac29-87b26ef3f3a2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"d89f857b-acd2-4792-af91-61a271e16f00\",\r\n + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"05c398a0-0a73-4933-abdc-517d1fc6da7d\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" @@ -91,7 +190,7 @@ interactions: Azure-Asyncnotification: - Enabled Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0104ba8c-c947-4473-9195-0d902ede1991?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/eec08833-e3e8-4f0c-9c67-915f3ec2d789?api-version=2020-11-01 Cache-Control: - no-cache Content-Length: @@ -130,9 +229,9 @@ interactions: method: PUT response: body: "{\r\n \"name\": \"aso-sample-vn1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1\",\r\n - \ \"etag\": \"W/\\\"8abe8cce-6854-45ff-aa26-f76f63e9a0ed\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"99f57b19-a0ac-45fa-9fd3-9968c56f47e0\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"0f733983-1c67-433c-a93f-2e49b045b977\",\r\n + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"785a47ea-16a4-4311-85e1-41092a5007bb\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" @@ -140,7 +239,7 @@ interactions: Azure-Asyncnotification: - Enabled Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ecc00d06-12ed-4618-bc9a-423adcb5992f?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/2c4b5d23-4d91-47ee-9460-5abc2803f172?api-version=2020-11-01 Cache-Control: - no-cache Content-Length: @@ -181,7 +280,7 @@ interactions: body: '{}' headers: Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs4Y2JkYjgwNi1kYzc3LTRkMjAtYWYzNC1jNGI1N2UyYjUyMmJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkMDU5M2FiNC00ZjlkLTRkNTktYjIzNy1iNjNjNjIwODZlMGJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 Cache-Control: - private Content-Length: @@ -189,7 +288,7 @@ interactions: Content-Type: - application/json; charset=utf-8 Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs4Y2JkYjgwNi1kYzc3LTRkMjAtYWYzNC1jNGI1N2UyYjUyMmJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkMDU5M2FiNC00ZjlkLTRkNTktYjIzNy1iNjNjNjIwODZlMGJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 Retry-After: - "30" Server: @@ -201,7 +300,7 @@ interactions: X-Content-Type-Options: - nosniff X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "11997" + - "11999" X-Powered-By: - ASP.NET status: 202 Accepted @@ -213,10 +312,10 @@ interactions: headers: Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0104ba8c-c947-4473-9195-0d902ede1991?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/baa0058b-5828-4caf-a767-85781ce8edee?api-version=2020-11-01 method: GET response: - body: "{\r\n \"status\": \"InProgress\"\r\n}" + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - no-cache @@ -226,8 +325,6 @@ interactions: - "-1" Pragma: - no-cache - Retry-After: - - "10" Server: - Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0 @@ -246,7 +343,7 @@ interactions: headers: Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ecc00d06-12ed-4618-bc9a-423adcb5992f?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/bfc8e119-96cc-4f1f-a8bc-fcd12dc7649c?api-version=2020-11-01 method: GET response: body: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -277,27 +374,21 @@ interactions: headers: Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/eec08833-e3e8-4f0c-9c67-915f3ec2d789?api-version=2020-11-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-vn1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1\",\r\n - \ \"etag\": \"W/\\\"2d3b62f8-5129-4d87-9870-a5dbebeab8a2\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"0f733983-1c67-433c-a93f-2e49b045b977\",\r\n - \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n - \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": - [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 - Etag: - - W/"2d3b62f8-5129-4d87-9870-a5dbebeab8a2" Expires: - "-1" Pragma: - no-cache + Retry-After: + - "10" Server: - Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0 @@ -314,31 +405,23 @@ interactions: body: "" form: {} headers: - Accept: - - application/json Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1?api-version=2020-11-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/2c4b5d23-4d91-47ee-9460-5abc2803f172?api-version=2020-11-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-vn1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1\",\r\n - \ \"etag\": \"W/\\\"2d3b62f8-5129-4d87-9870-a5dbebeab8a2\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"0f733983-1c67-433c-a93f-2e49b045b977\",\r\n - \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n - \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": - [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 - Etag: - - W/"2d3b62f8-5129-4d87-9870-a5dbebeab8a2" Expires: - "-1" Pragma: - no-cache + Retry-After: + - "10" Server: - Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0 @@ -352,44 +435,44 @@ interactions: code: 200 duration: "" - request: - body: '{"kind":"BlobStorage","location":"westus2","name":"asosamplestorage","properties":{"accessTier":"Hot"},"sku":{"name":"Standard_LRS"}}' + body: "" form: {} headers: - Accept: - - application/json - Content-Length: - - "133" - Content-Type: - - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage?api-version=2021-04-01 - method: PUT + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip?api-version=2020-11-01 + method: GET response: - body: "" + body: "{\r\n \"name\": \"bastionpublicip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip\",\r\n + \ \"etag\": \"W/\\\"c2a70b19-5283-4ef5-84ba-2d0cd5b25a92\\\"\",\r\n \"location\": + \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"993a59b9-8a60-4b4d-93fb-a261b2b6e802\",\r\n \"ipAddress\": + \"20.230.198.20\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n },\r\n + \ \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": {\r\n \"name\": + \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"c2a70b19-5283-4ef5-84ba-2d0cd5b25a92" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "17" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" @@ -397,85 +480,38 @@ interactions: headers: Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs4Y2JkYjgwNi1kYzc3LTRkMjAtYWYzNC1jNGI1N2UyYjUyMmJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2?api-version=2020-11-01 method: GET response: - body: '{"status":"InProgress"}' - headers: - Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs4Y2JkYjgwNi1kYzc3LTRkMjAtYWYzNC1jNGI1N2UyYjUyMmJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 - Cache-Control: - - private - Content-Length: - - "23" - Content-Type: - - application/json; charset=utf-8 - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs4Y2JkYjgwNi1kYzc3LTRkMjAtYWYzNC1jNGI1N2UyYjUyMmJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 - Retry-After: - - "30" - Server: - - Microsoft-IIS/10.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Aspnet-Version: - - 4.0.30319 - X-Content-Type-Options: - - nosniff - X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "497" - X-Powered-By: - - ASP.NET - status: 202 Accepted - code: 202 - duration: "" -- request: - body: '{"name":"aso-sample-subnet1","properties":{"addressPrefix":"10.0.0.0/24"}}' - form: {} - headers: - Accept: - - application/json - Content-Length: - - "74" - Content-Type: - - application/json - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1?api-version=2020-11-01 - method: PUT - response: - body: "{\r\n \"name\": \"aso-sample-subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\",\r\n - \ \"etag\": \"W/\\\"dc108204-5210-4f28-973d-006a668d6762\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + body: "{\r\n \"name\": \"aso-sample-vn2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2\",\r\n + \ \"etag\": \"W/\\\"bde81629-5718-4200-a50d-d7ec20de0247\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f45990af-7cb1-48be-807d-813f0e81ed29\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: - Azure-Asyncnotification: - - Enabled - Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/5c60de32-9264-4bf1-8e21-5327eb701558?api-version=2020-11-01 Cache-Control: - no-cache - Content-Length: - - "559" Content-Type: - application/json; charset=utf-8 + Etag: + - W/"bde81629-5718-4200-a50d-d7ec20de0247" Expires: - "-1" Pragma: - no-cache - Retry-After: - - "3" Server: - Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 201 Created - code: 201 + status: 200 OK + code: 200 duration: "" - request: body: "" @@ -483,31 +519,35 @@ interactions: headers: Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkMDU5M2FiNC00ZjlkLTRkNTktYjIzNy1iNjNjNjIwODZlMGJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 method: GET response: - body: "" + body: '{"status":"InProgress"}' headers: + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkMDU5M2FiNC00ZjlkLTRkNTktYjIzNy1iNjNjNjIwODZlMGJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 Cache-Control: - - no-cache + - private Content-Length: - - "0" + - "23" Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" + - application/json; charset=utf-8 Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkMDU5M2FiNC00ZjlkLTRkNTktYjIzNy1iNjNjNjIwODZlMGJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 Retry-After: - - "17" + - "30" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-IIS/10.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + X-Aspnet-Version: + - 4.0.30319 X-Content-Type-Options: - nosniff + X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: + - "499" + X-Powered-By: + - ASP.NET status: 202 Accepted code: 202 duration: "" @@ -515,17 +555,28 @@ interactions: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/5c60de32-9264-4bf1-8e21-5327eb701558?api-version=2020-11-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip?api-version=2020-11-01 method: GET response: - body: "{\r\n \"status\": \"Succeeded\"\r\n}" + body: "{\r\n \"name\": \"bastionpublicip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip\",\r\n + \ \"etag\": \"W/\\\"c2a70b19-5283-4ef5-84ba-2d0cd5b25a92\\\"\",\r\n \"location\": + \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"993a59b9-8a60-4b4d-93fb-a261b2b6e802\",\r\n \"ipAddress\": + \"20.230.198.20\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n },\r\n + \ \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": {\r\n \"name\": + \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 + Etag: + - W/"c2a70b19-5283-4ef5-84ba-2d0cd5b25a92" Expires: - "-1" Pragma: @@ -546,24 +597,27 @@ interactions: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1?api-version=2020-11-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2?api-version=2020-11-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\",\r\n - \ \"etag\": \"W/\\\"812fce55-1ef4-47c3-aaa5-28f0b3e5ba07\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + body: "{\r\n \"name\": \"aso-sample-vn2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2\",\r\n + \ \"etag\": \"W/\\\"bde81629-5718-4200-a50d-d7ec20de0247\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f45990af-7cb1-48be-807d-813f0e81ed29\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 Etag: - - W/"812fce55-1ef4-47c3-aaa5-28f0b3e5ba07" + - W/"bde81629-5718-4200-a50d-d7ec20de0247" Expires: - "-1" Pragma: @@ -581,52 +635,60 @@ interactions: code: 200 duration: "" - request: - body: "" + body: '{"name":"AzureBastionSubnet","properties":{"addressPrefix":"10.0.0.0/24"}}' form: {} headers: Accept: - application/json + Content-Length: + - "74" + Content-Type: + - application/json Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1?api-version=2020-11-01 - method: GET + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet?api-version=2020-11-01 + method: PUT response: - body: "{\r\n \"name\": \"aso-sample-subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\",\r\n - \ \"etag\": \"W/\\\"812fce55-1ef4-47c3-aaa5-28f0b3e5ba07\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + body: "{\r\n \"name\": \"AzureBastionSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet\",\r\n + \ \"etag\": \"W/\\\"2bf0bf44-9089-408d-8918-f7fe03084bcd\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c83ae653-1db4-4b36-9411-8b3f85e039b1?api-version=2020-11-01 Cache-Control: - no-cache + Content-Length: + - "559" Content-Type: - application/json; charset=utf-8 - Etag: - - W/"812fce55-1ef4-47c3-aaa5-28f0b3e5ba07" Expires: - "-1" Pragma: - no-cache + Retry-After: + - "3" Server: - Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding X-Content-Type-Options: - nosniff - status: 200 OK - code: 200 + status: 201 Created + code: 201 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0104ba8c-c947-4473-9195-0d902ede1991?api-version=2020-11-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c83ae653-1db4-4b36-9411-8b3f85e039b1?api-version=2020-11-01 method: GET response: body: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -657,23 +719,22 @@ interactions: headers: Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet?api-version=2020-11-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn\",\r\n - \ \"etag\": \"W/\\\"fe2d10c7-981b-4581-90e7-8045f97e8188\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"d89f857b-acd2-4792-af91-61a271e16f00\",\r\n - \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n - \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": - [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + body: "{\r\n \"name\": \"AzureBastionSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet\",\r\n + \ \"etag\": \"W/\\\"16714b20-8669-4d82-9007-948ed1396798\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 Etag: - - W/"fe2d10c7-981b-4581-90e7-8045f97e8188" + - W/"16714b20-8669-4d82-9007-948ed1396798" Expires: - "-1" Pragma: @@ -698,23 +759,22 @@ interactions: - application/json Test-Request-Attempt: - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet?api-version=2020-11-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn\",\r\n - \ \"etag\": \"W/\\\"fe2d10c7-981b-4581-90e7-8045f97e8188\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"d89f857b-acd2-4792-af91-61a271e16f00\",\r\n - \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n - \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": - [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + body: "{\r\n \"name\": \"AzureBastionSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet\",\r\n + \ \"etag\": \"W/\\\"16714b20-8669-4d82-9007-948ed1396798\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 Etag: - - W/"fe2d10c7-981b-4581-90e7-8045f97e8188" + - W/"16714b20-8669-4d82-9007-948ed1396798" Expires: - "-1" Pragma: @@ -732,52 +792,44 @@ interactions: code: 200 duration: "" - request: - body: '{"name":"aso-sample-subnet","properties":{"addressPrefix":"10.0.0.0/24","privateLinkServiceNetworkPolicies":"Disabled"}}' + body: '{"kind":"BlobStorage","location":"westus2","name":"asosamplestorage","properties":{"accessTier":"Hot"},"sku":{"name":"Standard_LRS"}}' form: {} headers: Accept: - application/json Content-Length: - - "120" + - "133" Content-Type: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage?api-version=2021-04-01 method: PUT response: - body: "{\r\n \"name\": \"aso-sample-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\",\r\n - \ \"etag\": \"W/\\\"909532fb-333e-4023-bcb3-504dd2af5fa8\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + body: "" headers: - Azure-Asyncnotification: - - Enabled - Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ca620229-1acd-4c41-922f-9648d6fc0edb?api-version=2020-11-01 Cache-Control: - no-cache Content-Length: - - "557" + - "0" Content-Type: - - application/json; charset=utf-8 + - text/plain; charset=utf-8 Expires: - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/e0a83dd2-1631-404e-9fdf-e56166c19208?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "17" Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: - nosniff - status: 201 Created - code: 201 + status: 202 Accepted + code: 202 duration: "" - request: body: "" @@ -785,53 +837,49 @@ interactions: headers: Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ca620229-1acd-4c41-922f-9648d6fc0edb?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/e0a83dd2-1631-404e-9fdf-e56166c19208?monitor=true&api-version=2021-04-01 method: GET response: - body: "{\r\n \"status\": \"Succeeded\"\r\n}" + body: "" headers: Cache-Control: - no-cache + Content-Length: + - "0" Content-Type: - - application/json; charset=utf-8 + - text/plain; charset=utf-8 Expires: - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/e0a83dd2-1631-404e-9fdf-e56166c19208?monitor=true&api-version=2021-04-01 Pragma: - no-cache + Retry-After: + - "17" Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 + - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding X-Content-Type-Options: - nosniff - status: 200 OK - code: 200 + status: 202 Accepted + code: 202 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet?api-version=2020-11-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/eec08833-e3e8-4f0c-9c67-915f3ec2d789?api-version=2020-11-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\",\r\n - \ \"etag\": \"W/\\\"11b0ed18-0717-4dcc-849e-dc878f2edaf1\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 - Etag: - - W/"11b0ed18-0717-4dcc-849e-dc878f2edaf1" Expires: - "-1" Pragma: @@ -852,26 +900,17 @@ interactions: body: "" form: {} headers: - Accept: - - application/json Test-Request-Attempt: - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/2c4b5d23-4d91-47ee-9460-5abc2803f172?api-version=2020-11-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\",\r\n - \ \"etag\": \"W/\\\"11b0ed18-0717-4dcc-849e-dc878f2edaf1\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 - Etag: - - W/"11b0ed18-0717-4dcc-849e-dc878f2edaf1" Expires: - "-1" Pragma: @@ -893,120 +932,104 @@ interactions: form: {} headers: Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn?api-version=2020-11-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn\",\r\n + \ \"etag\": \"W/\\\"b3e9c39b-97ff-4d3a-b95d-56618b182e10\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"05c398a0-0a73-4933-abdc-517d1fc6da7d\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"b3e9c39b-97ff-4d3a-b95d-56618b182e10" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: - body: '{"location":"westus2","name":"aso-sample-loadbalancer","properties":{"frontendIPConfigurations":[{"name":"LoadBalancerFrontend","properties":{"privateIPAllocationMethod":"Dynamic","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet"}}}],"inboundNatPools":[{"name":"MyFancyNatPool","properties":{"backendPort":22,"frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend"},"frontendPortRangeEnd":51000,"frontendPortRangeStart":50000,"protocol":"Tcp"}}]},"sku":{"name":"Standard"}}' + body: "" form: {} headers: - Accept: - - application/json - Content-Length: - - "784" - Content-Type: - - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer?api-version=2020-11-01 - method: PUT + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1?api-version=2020-11-01 + method: GET response: - body: "{\r\n \"name\": \"aso-sample-loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer\",\r\n - \ \"etag\": \"W/\\\"d63e705e-3a88-41ca-8a98-3678d392695e\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"9b2b70ee-321d-419c-b30a-8f50761619cf\",\r\n - \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontend\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\",\r\n - \ \"etag\": \"W/\\\"d63e705e-3a88-41ca-8a98-3678d392695e\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"privateIPAddress\": - \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n - \ },\r\n \"inboundNatPools\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\"\r\n - \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n - \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"loadBalancingRules\": - [],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": - [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"MyFancyNatPool\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\",\r\n - \ \"etag\": \"W/\\\"d63e705e-3a88-41ca-8a98-3678d392695e\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"frontendPortRangeStart\": - 50000,\r\n \"frontendPortRangeEnd\": 51000,\r\n \"backendPort\": - 22,\r\n \"protocol\": \"Tcp\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"enableFloatingIP\": false,\r\n \"enableDestinationServiceEndpoint\": - false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": - false,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n - \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n - \ \"tier\": \"Regional\"\r\n }\r\n}" + body: "{\r\n \"name\": \"aso-sample-vn1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1\",\r\n + \ \"etag\": \"W/\\\"6b9df226-8fe7-4b6a-8843-6b7750bd9bd4\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"785a47ea-16a4-4311-85e1-41092a5007bb\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: - Azure-Asyncnotification: - - Enabled - Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/d77497ee-0a59-43b6-82a7-d187459f1c86?api-version=2020-11-01 Cache-Control: - no-cache - Content-Length: - - "2970" Content-Type: - application/json; charset=utf-8 + Etag: + - W/"6b9df226-8fe7-4b6a-8843-6b7750bd9bd4" Expires: - "-1" Pragma: - no-cache - Retry-After: - - "3" Server: - Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 201 Created - code: 201 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/d77497ee-0a59-43b6-82a7-d187459f1c86?api-version=2020-11-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn?api-version=2020-11-01 method: GET response: - body: "{\r\n \"status\": \"Succeeded\"\r\n}" + body: "{\r\n \"name\": \"aso-sample-vn\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn\",\r\n + \ \"etag\": \"W/\\\"b3e9c39b-97ff-4d3a-b95d-56618b182e10\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"05c398a0-0a73-4933-abdc-517d1fc6da7d\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 + Etag: + - W/"b3e9c39b-97ff-4d3a-b95d-56618b182e10" Expires: - "-1" Pragma: @@ -1027,46 +1050,27 @@ interactions: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer?api-version=2020-11-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1?api-version=2020-11-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer\",\r\n - \ \"etag\": \"W/\\\"2dd1ab1f-230b-45fa-9285-0280821a7e7e\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9b2b70ee-321d-419c-b30a-8f50761619cf\",\r\n - \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontend\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\",\r\n - \ \"etag\": \"W/\\\"2dd1ab1f-230b-45fa-9285-0280821a7e7e\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAddress\": - \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n - \ },\r\n \"inboundNatPools\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\"\r\n - \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n - \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"loadBalancingRules\": - [],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": - [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"MyFancyNatPool\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\",\r\n - \ \"etag\": \"W/\\\"2dd1ab1f-230b-45fa-9285-0280821a7e7e\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendPortRangeStart\": - 50000,\r\n \"frontendPortRangeEnd\": 51000,\r\n \"backendPort\": - 22,\r\n \"protocol\": \"Tcp\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"enableFloatingIP\": false,\r\n \"enableDestinationServiceEndpoint\": - false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": - false,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n - \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n - \ \"tier\": \"Regional\"\r\n }\r\n}" + body: "{\r\n \"name\": \"aso-sample-vn1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1\",\r\n + \ \"etag\": \"W/\\\"6b9df226-8fe7-4b6a-8843-6b7750bd9bd4\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"785a47ea-16a4-4311-85e1-41092a5007bb\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": + [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 Etag: - - W/"2dd1ab1f-230b-45fa-9285-0280821a7e7e" + - W/"6b9df226-8fe7-4b6a-8843-6b7750bd9bd4" Expires: - "-1" Pragma: @@ -1084,198 +1088,230 @@ interactions: code: 200 duration: "" - request: - body: "" + body: '{"name":"aso-sample-subnet1","properties":{"addressPrefix":"10.0.0.0/24"}}' form: {} headers: Accept: - application/json + Content-Length: + - "74" + Content-Type: + - application/json Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer?api-version=2020-11-01 - method: GET + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1?api-version=2020-11-01 + method: PUT response: - body: "{\r\n \"name\": \"aso-sample-loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer\",\r\n - \ \"etag\": \"W/\\\"2dd1ab1f-230b-45fa-9285-0280821a7e7e\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus2\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9b2b70ee-321d-419c-b30a-8f50761619cf\",\r\n - \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontend\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\",\r\n - \ \"etag\": \"W/\\\"2dd1ab1f-230b-45fa-9285-0280821a7e7e\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAddress\": - \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n - \ },\r\n \"inboundNatPools\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\"\r\n - \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n - \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"loadBalancingRules\": - [],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": - [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"MyFancyNatPool\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\",\r\n - \ \"etag\": \"W/\\\"2dd1ab1f-230b-45fa-9285-0280821a7e7e\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendPortRangeStart\": - 50000,\r\n \"frontendPortRangeEnd\": 51000,\r\n \"backendPort\": - 22,\r\n \"protocol\": \"Tcp\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"enableFloatingIP\": false,\r\n \"enableDestinationServiceEndpoint\": - false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": - false,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n - \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n - \ \"tier\": \"Regional\"\r\n }\r\n}" + body: "{\r\n \"name\": \"aso-sample-subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\",\r\n + \ \"etag\": \"W/\\\"8e46e99f-6777-4a6a-839e-4e8bf5713484\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/016265ba-ca5a-4dc3-b9fc-64a6e95dd6f0?api-version=2020-11-01 Cache-Control: - no-cache + Content-Length: + - "559" Content-Type: - application/json; charset=utf-8 - Etag: - - W/"2dd1ab1f-230b-45fa-9285-0280821a7e7e" Expires: - "-1" Pragma: - no-cache + Retry-After: + - "3" Server: - Microsoft-HTTPAPI/2.0 - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding X-Content-Type-Options: - nosniff - status: 200 OK - code: 200 + status: 201 Created + code: 201 duration: "" - request: - body: "" + body: '{"name":"aso-sample-subnet","properties":{"addressPrefix":"10.0.0.0/24","privateLinkServiceNetworkPolicies":"Disabled"}}' form: {} headers: + Accept: + - application/json + Content-Length: + - "120" + Content-Type: + - application/json Test-Request-Attempt: - - "2" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet?api-version=2020-11-01 + method: PUT response: - body: "" + body: "{\r\n \"name\": \"aso-sample-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\",\r\n + \ \"etag\": \"W/\\\"5c071c78-db74-464d-b1c8-79442316e886\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f3718e78-1c8c-4555-8ddd-62d23e80be3f?api-version=2020-11-01 Cache-Control: - no-cache Content-Length: - - "0" + - "557" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 201 Created + code: 201 duration: "" - request: - body: "" + body: '{"location":"westus2","name":"aso-sample-loadbalancer","properties":{"frontendIPConfigurations":[{"name":"LoadBalancerFrontend","properties":{"privateIPAllocationMethod":"Dynamic","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet"}}}],"inboundNatPools":[{"name":"MyFancyNatPool","properties":{"backendPort":22,"frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend"},"frontendPortRangeEnd":51000,"frontendPortRangeStart":50000,"protocol":"Tcp"}}]},"sku":{"name":"Standard"}}' form: {} headers: + Accept: + - application/json + Content-Length: + - "784" + Content-Type: + - application/json Test-Request-Attempt: - - "3" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer?api-version=2020-11-01 + method: PUT response: - body: "" + body: "{\r\n \"name\": \"aso-sample-loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer\",\r\n + \ \"etag\": \"W/\\\"9346f49b-3099-4dc5-8d3f-a956724318a7\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"cd00eb0d-df76-483c-930b-fc93a51843c2\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontend\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\",\r\n + \ \"etag\": \"W/\\\"9346f49b-3099-4dc5-8d3f-a956724318a7\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"privateIPAddress\": + \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n + \ },\r\n \"inboundNatPools\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\"\r\n + \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n + \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"loadBalancingRules\": + [],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": + [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"MyFancyNatPool\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\",\r\n + \ \"etag\": \"W/\\\"9346f49b-3099-4dc5-8d3f-a956724318a7\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"frontendPortRangeStart\": + 50000,\r\n \"frontendPortRangeEnd\": 51000,\r\n \"backendPort\": + 22,\r\n \"protocol\": \"Tcp\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"enableFloatingIP\": false,\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/d6bf1790-1a82-4c83-82c6-f4e3768fb99d?api-version=2020-11-01 Cache-Control: - no-cache Content-Length: - - "0" + - "2970" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 201 Created + code: 201 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "4" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/016265ba-ca5a-4dc3-b9fc-64a6e95dd6f0?api-version=2020-11-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs4Y2JkYjgwNi1kYzc3LTRkMjAtYWYzNC1jNGI1N2UyYjUyMmJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f3718e78-1c8c-4555-8ddd-62d23e80be3f?api-version=2020-11-01 method: GET response: - body: '{"status":"Succeeded"}' + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - - private + - no-cache Content-Type: - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache Server: - - Microsoft-IIS/10.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains Vary: - Accept-Encoding - X-Aspnet-Version: - - 4.0.30319 X-Content-Type-Options: - nosniff - X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "494" - X-Powered-By: - - ASP.NET status: 200 OK code: 200 duration: "" @@ -1285,31 +1321,36 @@ interactions: headers: Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net?api-version=2018-09-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet?api-version=2020-11-01 method: GET response: - body: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net","name":"privatelink.blob.core.windows.net","type":"Microsoft.Network\/privateDnsZones","etag":"cd44be1f-bfc8-491f-9b5b-9dec5e38da99","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + body: "{\r\n \"name\": \"aso-sample-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\",\r\n + \ \"etag\": \"W/\\\"d0c3a014-6677-45b0-b1b0-199ee5714e92\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: Cache-Control: - - private + - no-cache Content-Type: - application/json; charset=utf-8 Etag: - - cd44be1f-bfc8-491f-9b5b-9dec5e38da99 + - W/"d0c3a014-6677-45b0-b1b0-199ee5714e92" + Expires: + - "-1" + Pragma: + - no-cache Server: - - Microsoft-IIS/10.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains Vary: - Accept-Encoding - X-Aspnet-Version: - - 4.0.30319 X-Content-Type-Options: - nosniff - X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "495" - X-Powered-By: - - ASP.NET status: 200 OK code: 200 duration: "" @@ -1317,35 +1358,37 @@ interactions: body: "" form: {} headers: - Accept: - - application/json Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net?api-version=2018-09-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1?api-version=2020-11-01 method: GET response: - body: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net","name":"privatelink.blob.core.windows.net","type":"Microsoft.Network\/privateDnsZones","etag":"cd44be1f-bfc8-491f-9b5b-9dec5e38da99","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + body: "{\r\n \"name\": \"aso-sample-subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\",\r\n + \ \"etag\": \"W/\\\"eb2cb990-8fcc-4566-bef9-b0f0b6544bd3\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: Cache-Control: - - private + - no-cache Content-Type: - application/json; charset=utf-8 Etag: - - cd44be1f-bfc8-491f-9b5b-9dec5e38da99 + - W/"eb2cb990-8fcc-4566-bef9-b0f0b6544bd3" + Expires: + - "-1" + Pragma: + - no-cache Server: - - Microsoft-IIS/10.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains Vary: - Accept-Encoding - X-Aspnet-Version: - - 4.0.30319 X-Content-Type-Options: - nosniff - X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "494" - X-Powered-By: - - ASP.NET status: 200 OK code: 200 duration: "" @@ -1354,178 +1397,242 @@ interactions: form: {} headers: Test-Request-Attempt: - - "5" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/d6bf1790-1a82-4c83-82c6-f4e3768fb99d?api-version=2020-11-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "6" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet?api-version=2020-11-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\",\r\n + \ \"etag\": \"W/\\\"d0c3a014-6677-45b0-b1b0-199ee5714e92\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"d0c3a014-6677-45b0-b1b0-199ee5714e92" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "7" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1?api-version=2020-11-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\",\r\n + \ \"etag\": \"W/\\\"eb2cb990-8fcc-4566-bef9-b0f0b6544bd3\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"eb2cb990-8fcc-4566-bef9-b0f0b6544bd3" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "8" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer?api-version=2020-11-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer\",\r\n + \ \"etag\": \"W/\\\"237edcda-27c5-4cf4-b4ce-04eeccf0c610\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"cd00eb0d-df76-483c-930b-fc93a51843c2\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontend\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\",\r\n + \ \"etag\": \"W/\\\"237edcda-27c5-4cf4-b4ce-04eeccf0c610\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAddress\": + \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n + \ },\r\n \"inboundNatPools\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\"\r\n + \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n + \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"loadBalancingRules\": + [],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": + [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"MyFancyNatPool\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\",\r\n + \ \"etag\": \"W/\\\"237edcda-27c5-4cf4-b4ce-04eeccf0c610\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendPortRangeStart\": + 50000,\r\n \"frontendPortRangeEnd\": 51000,\r\n \"backendPort\": + 22,\r\n \"protocol\": \"Tcp\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"enableFloatingIP\": false,\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"237edcda-27c5-4cf4-b4ce-04eeccf0c610" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "9" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer?api-version=2020-11-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer\",\r\n + \ \"etag\": \"W/\\\"237edcda-27c5-4cf4-b4ce-04eeccf0c610\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"cd00eb0d-df76-483c-930b-fc93a51843c2\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontend\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\",\r\n + \ \"etag\": \"W/\\\"237edcda-27c5-4cf4-b4ce-04eeccf0c610\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAddress\": + \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n + \ },\r\n \"inboundNatPools\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\"\r\n + \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n + \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"loadBalancingRules\": + [],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": + [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"MyFancyNatPool\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/inboundNatPools/MyFancyNatPool\",\r\n + \ \"etag\": \"W/\\\"237edcda-27c5-4cf4-b4ce-04eeccf0c610\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendPortRangeStart\": + 50000,\r\n \"frontendPortRangeEnd\": 51000,\r\n \"backendPort\": + 22,\r\n \"protocol\": \"Tcp\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"enableFloatingIP\": false,\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"237edcda-27c5-4cf4-b4ce-04eeccf0c610" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "10" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/e0a83dd2-1631-404e-9fdf-e56166c19208?monitor=true&api-version=2021-04-01 method: GET response: body: "" @@ -1539,7 +1646,7 @@ interactions: Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/e0a83dd2-1631-404e-9fdf-e56166c19208?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: @@ -1558,8 +1665,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "11" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "2" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/e0a83dd2-1631-404e-9fdf-e56166c19208?monitor=true&api-version=2021-04-01 method: GET response: body: "" @@ -1573,7 +1680,7 @@ interactions: Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/e0a83dd2-1631-404e-9fdf-e56166c19208?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: @@ -1592,102 +1699,164 @@ interactions: form: {} headers: Test-Request-Attempt: - - "12" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkMDU5M2FiNC00ZjlkLTRkNTktYjIzNy1iNjNjNjIwODZlMGJfNGVmNDRmZWYtYzUxZC00ZDdjLWE2ZmYtODYzNWMwMjg0OGIx?api-version=2018-09-01 method: GET response: - body: "" + body: '{"status":"Succeeded"}' headers: Cache-Control: - - no-cache - Content-Length: + - private + Content-Type: + - application/json; charset=utf-8 + Server: + - Microsoft-IIS/10.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Aspnet-Version: + - 4.0.30319 + X-Content-Type-Options: + - nosniff + X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: + - "498" + X-Powered-By: + - ASP.NET + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net?api-version=2018-09-01 + method: GET + response: + body: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net","name":"privatelink.blob.core.windows.net","type":"Microsoft.Network\/privateDnsZones","etag":"bf87a49a-271a-4818-ae07-2131a621b153","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + headers: + Cache-Control: + - private Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" + - application/json; charset=utf-8 + Etag: + - bf87a49a-271a-4818-ae07-2131a621b153 Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-IIS/10.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Aspnet-Version: + - 4.0.30319 X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: + - "499" + X-Powered-By: + - ASP.NET + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "13" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net?api-version=2018-09-01 method: GET response: + body: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net","name":"privatelink.blob.core.windows.net","type":"Microsoft.Network\/privateDnsZones","etag":"bf87a49a-271a-4818-ae07-2131a621b153","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + headers: + Cache-Control: + - private + Content-Type: + - application/json; charset=utf-8 + Etag: + - bf87a49a-271a-4818-ae07-2131a621b153 + Server: + - Microsoft-IIS/10.0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Aspnet-Version: + - 4.0.30319 + X-Content-Type-Options: + - nosniff + X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: + - "498" + X-Powered-By: + - ASP.NET + status: 200 OK + code: 200 + duration: "" +- request: body: "" + form: {} + headers: + Test-Request-Attempt: + - "3" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/e0a83dd2-1631-404e-9fdf-e56166c19208?monitor=true&api-version=2021-04-01 + method: GET + response: + body: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage","name":"asosamplestorage","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"keyCreationTime":{"key1":"2001-02-03T04:05:06Z","key2":"2001-02-03T04:05:06Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2001-02-03T04:05:06Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2001-02-03T04:05:06Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2001-02-03T04:05:06Z","primaryEndpoints":{"dfs":"https://asosamplestorage.dfs.core.windows.net/","blob":"https://asosamplestorage.blob.core.windows.net/","table":"https://asosamplestorage.table.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}}' headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "14" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage?api-version=2021-04-01 method: GET response: - body: "" + body: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage","name":"asosamplestorage","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"keyCreationTime":{"key1":"2001-02-03T04:05:06Z","key2":"2001-02-03T04:05:06Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2001-02-03T04:05:06Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2001-02-03T04:05:06Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2001-02-03T04:05:06Z","primaryEndpoints":{"dfs":"https://asosamplestorage.dfs.core.windows.net/","blob":"https://asosamplestorage.blob.core.windows.net/","table":"https://asosamplestorage.table.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}}' headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: '{"location":"global","name":"aso-sample-vnetlink","properties":{"registrationEnabled":false,"virtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1"}}}' @@ -1707,7 +1876,7 @@ interactions: body: '{}' headers: Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7ZTFhYTc3MjMtZDViOC00ZmYzLTllMmQtMGI3ZTRhYTJmY2UxXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7NjE1YjA4YWMtNDViMC00NTc4LWExYmYtMzMwZGM1Y2E2ZmIwXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 Cache-Control: - private Content-Length: @@ -1715,7 +1884,7 @@ interactions: Content-Type: - application/json; charset=utf-8 Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7ZTFhYTc3MjMtZDViOC00ZmYzLTllMmQtMGI3ZTRhYTJmY2UxXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7NjE1YjA4YWMtNDViMC00NTc4LWExYmYtMzMwZGM1Y2E2ZmIwXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 Retry-After: - "30" Server: @@ -1727,7 +1896,7 @@ interactions: X-Content-Type-Options: - nosniff X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "11998" + - "11999" X-Powered-By: - ASP.NET status: 202 Accepted @@ -1738,32 +1907,36 @@ interactions: form: {} headers: Test-Request-Attempt: - - "15" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7NjE1YjA4YWMtNDViMC00NTc4LWExYmYtMzMwZGM1Y2E2ZmIwXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 method: GET response: - body: "" + body: '{"status":"InProgress"}' headers: + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7NjE1YjA4YWMtNDViMC00NTc4LWExYmYtMzMwZGM1Y2E2ZmIwXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 Cache-Control: - - no-cache + - private Content-Length: - - "0" + - "23" Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" + - application/json; charset=utf-8 Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7NjE1YjA4YWMtNDViMC00NTc4LWExYmYtMzMwZGM1Y2E2ZmIwXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 Retry-After: - - "3" + - "30" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-IIS/10.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + X-Aspnet-Version: + - 4.0.30319 X-Content-Type-Options: - nosniff + X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: + - "497" + X-Powered-By: + - ASP.NET status: 202 Accepted code: 202 duration: "" @@ -1772,344 +1945,412 @@ interactions: form: {} headers: Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7ZTFhYTc3MjMtZDViOC00ZmYzLTllMmQtMGI3ZTRhYTJmY2UxXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7NjE1YjA4YWMtNDViMC00NTc4LWExYmYtMzMwZGM1Y2E2ZmIwXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 method: GET response: - body: '{"status":"InProgress"}' + body: '{"status":"Succeeded"}' headers: - Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7ZTFhYTc3MjMtZDViOC00ZmYzLTllMmQtMGI3ZTRhYTJmY2UxXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 Cache-Control: - private - Content-Length: - - "23" Content-Type: - application/json; charset=utf-8 - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7ZTFhYTc3MjMtZDViOC00ZmYzLTllMmQtMGI3ZTRhYTJmY2UxXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 - Retry-After: - - "30" Server: - Microsoft-IIS/10.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Aspnet-Version: - 4.0.30319 X-Content-Type-Options: - nosniff X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "492" + - "496" X-Powered-By: - ASP.NET - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "16" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net/virtualNetworkLinks/aso-sample-vnetlink?api-version=2020-06-01 method: GET response: - body: "" + body: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net\/virtualNetworkLinks\/aso-sample-vnetlink","name":"aso-sample-vnetlink","type":"Microsoft.Network\/privateDnsZones\/virtualNetworkLinks","etag":"\"16010d8e-0000-0100-0000-64408c9d0000\"","location":"global","properties":{"provisioningState":"Succeeded","registrationEnabled":false,"virtualNetwork":{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/virtualNetworks\/aso-sample-vn1"},"virtualNetworkLinkState":"Completed"}}' headers: Cache-Control: - - no-cache - Content-Length: - - "0" + - private Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" + - application/json; charset=utf-8 + Etag: + - '"16010d8e-0000-0100-0000-64408c9d0000"' Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-IIS/10.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Aspnet-Version: + - 4.0.30319 X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: + - "499" + X-Powered-By: + - ASP.NET + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "17" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net/virtualNetworkLinks/aso-sample-vnetlink?api-version=2020-06-01 method: GET response: - body: "" + body: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net\/virtualNetworkLinks\/aso-sample-vnetlink","name":"aso-sample-vnetlink","type":"Microsoft.Network\/privateDnsZones\/virtualNetworkLinks","etag":"\"16010d8e-0000-0100-0000-64408c9d0000\"","location":"global","properties":{"provisioningState":"Succeeded","registrationEnabled":false,"virtualNetwork":{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/virtualNetworks\/aso-sample-vn1"},"virtualNetworkLinkState":"Completed"}}' headers: Cache-Control: - - no-cache - Content-Length: - - "0" + - private Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" + - application/json; charset=utf-8 + Etag: + - '"16010d8e-0000-0100-0000-64408c9d0000"' Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-IIS/10.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Aspnet-Version: + - 4.0.30319 X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: + - "498" + X-Powered-By: + - ASP.NET + status: 200 OK + code: 200 duration: "" - request: - body: "" + body: '{"location":"westus2","name":"aso-sample-bastion","properties":{"ipConfigurations":[{"name":"IpConf","properties":{"publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip"},"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet"}}}]}}' form: {} headers: + Accept: + - application/json + Content-Length: + - "482" + Content-Type: + - application/json Test-Request-Attempt: - - "18" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion?api-version=2022-07-01 + method: PUT response: - body: "" + body: "{\r\n \"name\": \"aso-sample-bastion\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion\",\r\n + \ \"etag\": \"W/\\\"3dac7774-36c6-4924-a33a-a1bee04fdf78\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"scaleUnits\": 2,\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"IpConf\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion/bastionHostIpConfigurations/IpConf\",\r\n + \ \"etag\": \"W/\\\"3dac7774-36c6-4924-a33a-a1bee04fdf78\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet\"\r\n + \ }\r\n }\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": + \"Basic\"\r\n }\r\n}" headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 Cache-Control: - no-cache Content-Length: - - "0" + - "1438" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "10" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 201 Created + code: 201 duration: "" - request: - body: "" + body: '{"location":"westus2","name":"aso-sample-privateendpoint","properties":{"privateLinkServiceConnections":[{"name":"testEndpoint","properties":{"groupIds":["blob"],"privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage"}}],"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1"}}}' form: {} headers: + Accept: + - application/json + Content-Length: + - "526" + Content-Type: + - application/json Test-Request-Attempt: - - "19" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint?api-version=2022-07-01 + method: PUT response: - body: "" + body: "{\r\n \"name\": \"aso-sample-privateendpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint\",\r\n + \ \"etag\": \"W/\\\"0ccc0892-32cc-4f0d-99be-678525d93f30\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus2\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"2ca372e5-db04-429a-893d-9f2143ae3711\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"testEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateLinkServiceConnections/testEndpoint\",\r\n + \ \"etag\": \"W/\\\"0ccc0892-32cc-4f0d-99be-678525d93f30\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto + Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": + \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\"\r\n + \ },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n + \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-privateendpoint.nic.557cb489-8fc7-45fb-848f-905837b5d6ff\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9d174aa6-a633-4005-be8f-d9f792210ea4?api-version=2022-07-01 Cache-Control: - no-cache Content-Length: - - "0" + - "2065" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "10" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 201 Created + code: 201 duration: "" - request: - body: "" + body: '{"location":"westus2","name":"aso-sample-pls","properties":{"autoApproval":{"subscriptions":["00000000-0000-0000-0000-000000000000"]},"ipConfigurations":[{"name":"config","properties":{"privateIPAddressVersion":"IPv4","privateIPAllocationMethod":"Dynamic","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet"}}}],"loadBalancerFrontendIpConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend"}],"visibility":{"subscriptions":["00000000-0000-0000-0000-000000000000"]}}}' form: {} headers: + Accept: + - application/json + Content-Length: + - "766" + Content-Type: + - application/json Test-Request-Attempt: - - "20" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls?api-version=2022-07-01 + method: PUT response: - body: "" + body: "{\r\n \"name\": \"aso-sample-pls\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls\",\r\n + \ \"etag\": \"W/\\\"fd2aed6a-6dd0-45d3-894b-0cb2968687b3\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"westus2\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"4fea38e2-302c-4cd1-a22b-44d431a309f5\",\r\n \"fqdns\": [],\r\n \"alias\": + \"aso-sample-pls.7f6192c1-97cd-4bc5-a0e5-b19417586b1e.westus2.azure.privatelinkservice\",\r\n + \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n + \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n + \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n \"enableProxyProtocol\": + false,\r\n \"loadBalancerFrontendIpConfigurations\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n + \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls/ipConfigurations/config\",\r\n + \ \"etag\": \"W/\\\"fd2aed6a-6dd0-45d3-894b-0cb2968687b3\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": + [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-pls.nic.d5874527-4358-42b7-b6a4-3b2f272aefa1\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/58df842d-8c2e-4b53-a96a-b85dc05642e8?api-version=2022-07-01 Cache-Control: - no-cache Content-Length: - - "0" + - "2255" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "10" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 201 Created + code: 201 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "21" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "10" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "22" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9d174aa6-a633-4005-be8f-d9f792210ea4?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "10" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "23" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/58df842d-8c2e-4b53-a96a-b85dc05642e8?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "10" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "24" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "20" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" @@ -2117,29 +2358,30 @@ interactions: headers: Test-Request-Attempt: - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRWaXJ0dWFsTmV0d29ya0xpbms7ZTFhYTc3MjMtZDViOC00ZmYzLTllMmQtMGI3ZTRhYTJmY2UxXzRlZjQ0ZmVmLWM1MWQtNGQ3Yy1hNmZmLTg2MzVjMDI4NDhiMQ==?api-version=2020-06-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9d174aa6-a633-4005-be8f-d9f792210ea4?api-version=2022-07-01 method: GET response: - body: '{"status":"Succeeded"}' + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - - private + - no-cache Content-Type: - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Retry-After: + - "20" Server: - - Microsoft-IIS/10.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains Vary: - Accept-Encoding - X-Aspnet-Version: - - 4.0.30319 X-Content-Type-Options: - nosniff - X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "490" - X-Powered-By: - - ASP.NET status: 200 OK code: 200 duration: "" @@ -2148,32 +2390,29 @@ interactions: form: {} headers: Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net/virtualNetworkLinks/aso-sample-vnetlink?api-version=2020-06-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/58df842d-8c2e-4b53-a96a-b85dc05642e8?api-version=2022-07-01 method: GET response: - body: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net\/virtualNetworkLinks\/aso-sample-vnetlink","name":"aso-sample-vnetlink","type":"Microsoft.Network\/privateDnsZones\/virtualNetworkLinks","etag":"\"230308be-0000-0100-0000-64245eff0000\"","location":"global","properties":{"provisioningState":"Succeeded","registrationEnabled":false,"virtualNetwork":{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/virtualNetworks\/aso-sample-vn1"},"virtualNetworkLinkState":"Completed"}}' + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - - private + - no-cache Content-Type: - application/json; charset=utf-8 - Etag: - - '"230308be-0000-0100-0000-64245eff0000"' + Expires: + - "-1" + Pragma: + - no-cache Server: - - Microsoft-IIS/10.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains Vary: - Accept-Encoding - X-Aspnet-Version: - - 4.0.30319 X-Content-Type-Options: - nosniff - X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "497" - X-Powered-By: - - ASP.NET status: 200 OK code: 200 duration: "" @@ -2181,35 +2420,52 @@ interactions: body: "" form: {} headers: - Accept: - - application/json Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net/virtualNetworkLinks/aso-sample-vnetlink?api-version=2020-06-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls?api-version=2022-07-01 method: GET response: - body: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net\/virtualNetworkLinks\/aso-sample-vnetlink","name":"aso-sample-vnetlink","type":"Microsoft.Network\/privateDnsZones\/virtualNetworkLinks","etag":"\"230308be-0000-0100-0000-64245eff0000\"","location":"global","properties":{"provisioningState":"Succeeded","registrationEnabled":false,"virtualNetwork":{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/asotest-rg-faseaf\/providers\/Microsoft.Network\/virtualNetworks\/aso-sample-vn1"},"virtualNetworkLinkState":"Completed"}}' + body: "{\r\n \"name\": \"aso-sample-pls\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls\",\r\n + \ \"etag\": \"W/\\\"14eb4326-4b3c-40de-a21c-b71070c8bf85\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"westus2\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"4fea38e2-302c-4cd1-a22b-44d431a309f5\",\r\n \"fqdns\": [],\r\n \"alias\": + \"aso-sample-pls.7f6192c1-97cd-4bc5-a0e5-b19417586b1e.westus2.azure.privatelinkservice\",\r\n + \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n + \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n + \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n \"enableProxyProtocol\": + false,\r\n \"loadBalancerFrontendIpConfigurations\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n + \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls/ipConfigurations/config\",\r\n + \ \"etag\": \"W/\\\"14eb4326-4b3c-40de-a21c-b71070c8bf85\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": + [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-pls.nic.d5874527-4358-42b7-b6a4-3b2f272aefa1\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: Cache-Control: - - private + - no-cache Content-Type: - application/json; charset=utf-8 Etag: - - '"230308be-0000-0100-0000-64245eff0000"' + - W/"14eb4326-4b3c-40de-a21c-b71070c8bf85" + Expires: + - "-1" + Pragma: + - no-cache Server: - - Microsoft-IIS/10.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains Vary: - Accept-Encoding - X-Aspnet-Version: - - 4.0.30319 X-Content-Type-Options: - nosniff - X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: - - "496" - X-Powered-By: - - ASP.NET status: 200 OK code: 200 duration: "" @@ -2217,588 +2473,676 @@ interactions: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "25" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-pls\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls\",\r\n + \ \"etag\": \"W/\\\"14eb4326-4b3c-40de-a21c-b71070c8bf85\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"westus2\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"4fea38e2-302c-4cd1-a22b-44d431a309f5\",\r\n \"fqdns\": [],\r\n \"alias\": + \"aso-sample-pls.7f6192c1-97cd-4bc5-a0e5-b19417586b1e.westus2.azure.privatelinkservice\",\r\n + \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n + \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n + \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n \"enableProxyProtocol\": + false,\r\n \"loadBalancerFrontendIpConfigurations\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n + \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls/ipConfigurations/config\",\r\n + \ \"etag\": \"W/\\\"14eb4326-4b3c-40de-a21c-b71070c8bf85\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": + [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-pls.nic.d5874527-4358-42b7-b6a4-3b2f272aefa1\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"14eb4326-4b3c-40de-a21c-b71070c8bf85" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "26" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "2" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "20" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "27" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "2" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9d174aa6-a633-4005-be8f-d9f792210ea4?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "28" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-privateendpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint\",\r\n + \ \"etag\": \"W/\\\"30d56eec-a2a8-4e5d-bb9b-a788489482e2\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus2\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"2ca372e5-db04-429a-893d-9f2143ae3711\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"testEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateLinkServiceConnections/testEndpoint\",\r\n + \ \"etag\": \"W/\\\"30d56eec-a2a8-4e5d-bb9b-a788489482e2\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n + \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n + \ ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": + \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\"\r\n + \ },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n + \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-privateendpoint.nic.557cb489-8fc7-45fb-848f-905837b5d6ff\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": + \"asosamplestorage.blob.core.windows.net\",\r\n \"ipAddresses\": [\r\n + \ \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"30d56eec-a2a8-4e5d-bb9b-a788489482e2" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "29" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-privateendpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint\",\r\n + \ \"etag\": \"W/\\\"30d56eec-a2a8-4e5d-bb9b-a788489482e2\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus2\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"2ca372e5-db04-429a-893d-9f2143ae3711\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"testEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateLinkServiceConnections/testEndpoint\",\r\n + \ \"etag\": \"W/\\\"30d56eec-a2a8-4e5d-bb9b-a788489482e2\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n + \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n + \ ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": + \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\"\r\n + \ },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n + \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-privateendpoint.nic.557cb489-8fc7-45fb-848f-905837b5d6ff\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": + \"asosamplestorage.blob.core.windows.net\",\r\n \"ipAddresses\": [\r\n + \ \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"30d56eec-a2a8-4e5d-bb9b-a788489482e2" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "30" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "3" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "40" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: - body: "" + body: '{"name":"aso-sample-dnszonegroup","properties":{"privateDnsZoneConfigs":[{"name":"config","properties":{"privateDnsZoneId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net"}}]}}' form: {} headers: + Accept: + - application/json + Content-Length: + - "292" + Content-Type: + - application/json Test-Request-Attempt: - - "31" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup?api-version=2022-07-01 + method: PUT response: - body: "" + body: "{\r\n \"name\": \"aso-sample-dnszonegroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup\",\r\n + \ \"etag\": \"W/\\\"5b8efe7b-7e68-4622-8f33-8eb8ae9d5598\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup/privateDnsZoneConfigs/config\",\r\n + \ \"etag\": \"W/\\\"5b8efe7b-7e68-4622-8f33-8eb8ae9d5598\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net\",\r\n + \ \"recordSets\": [\r\n {\r\n \"recordType\": + \"A\",\r\n \"recordSetName\": \"asosamplestorage\",\r\n \"fqdn\": + \"asosamplestorage.privatelink.blob.core.windows.net\",\r\n \"ttl\": + 10,\r\n \"provisioningState\": \"Updating\",\r\n \"ipAddresses\": + [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n + \ }\r\n }\r\n ]\r\n }\r\n}" headers: + Azure-Asyncnotification: + - Enabled + Azure-Asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c6da8a5c-702c-4fcb-a5c3-e8725fe37826?api-version=2022-07-01 Cache-Control: - no-cache Content-Length: - - "0" + - "1600" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "10" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 201 Created + code: 201 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "32" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c6da8a5c-702c-4fcb-a5c3-e8725fe37826?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "33" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-dnszonegroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup\",\r\n + \ \"etag\": \"W/\\\"579e5154-ba19-4677-ad46-beacdc91e9be\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup/privateDnsZoneConfigs/config\",\r\n + \ \"etag\": \"W/\\\"579e5154-ba19-4677-ad46-beacdc91e9be\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net\",\r\n + \ \"recordSets\": [\r\n {\r\n \"recordType\": + \"A\",\r\n \"recordSetName\": \"asosamplestorage\",\r\n \"fqdn\": + \"asosamplestorage.privatelink.blob.core.windows.net\",\r\n \"ttl\": + 10,\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipAddresses\": + [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n + \ }\r\n }\r\n ]\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"579e5154-ba19-4677-ad46-beacdc91e9be" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "34" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-dnszonegroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup\",\r\n + \ \"etag\": \"W/\\\"579e5154-ba19-4677-ad46-beacdc91e9be\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup/privateDnsZoneConfigs/config\",\r\n + \ \"etag\": \"W/\\\"579e5154-ba19-4677-ad46-beacdc91e9be\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net\",\r\n + \ \"recordSets\": [\r\n {\r\n \"recordType\": + \"A\",\r\n \"recordSetName\": \"asosamplestorage\",\r\n \"fqdn\": + \"asosamplestorage.privatelink.blob.core.windows.net\",\r\n \"ttl\": + 10,\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipAddresses\": + [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n + \ }\r\n }\r\n ]\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"579e5154-ba19-4677-ad46-beacdc91e9be" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "35" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "4" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "40" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "36" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "5" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "80" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "37" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "6" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"InProgress\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache Retry-After: - - "3" + - "160" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "38" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "7" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e3302a59-da6b-4375-98b7-e0959190cad1?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: Test-Request-Attempt: - - "39" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-bastion\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion\",\r\n + \ \"etag\": \"W/\\\"656f5f70-fd89-44a0-82ac-cb2269fa4238\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"dnsName\": \"bst-5a582fa8-3142-4f38-a594-3183a2b27e81.bastion.azure.com\",\r\n + \ \"scaleUnits\": 2,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"IpConf\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion/bastionHostIpConfigurations/IpConf\",\r\n + \ \"etag\": \"W/\\\"656f5f70-fd89-44a0-82ac-cb2269fa4238\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet\"\r\n + \ }\r\n }\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": + \"Basic\"\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"656f5f70-fd89-44a0-82ac-cb2269fa4238" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "40" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion?api-version=2022-07-01 method: GET response: - body: "" + body: "{\r\n \"name\": \"aso-sample-bastion\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion\",\r\n + \ \"etag\": \"W/\\\"656f5f70-fd89-44a0-82ac-cb2269fa4238\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"westus2\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"dnsName\": \"bst-5a582fa8-3142-4f38-a594-3183a2b27e81.bastion.azure.com\",\r\n + \ \"scaleUnits\": 2,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"IpConf\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion/bastionHostIpConfigurations/IpConf\",\r\n + \ \"etag\": \"W/\\\"656f5f70-fd89-44a0-82ac-cb2269fa4238\\\"\",\r\n \"type\": + \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet\"\r\n + \ }\r\n }\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": + \"Basic\"\r\n }\r\n}" headers: Cache-Control: - no-cache - Content-Length: - - "0" Content-Type: - - text/plain; charset=utf-8 + - application/json; charset=utf-8 + Etag: + - W/"656f5f70-fd89-44a0-82ac-cb2269fa4238" Expires: - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 Pragma: - no-cache - Retry-After: - - "3" Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 Strict-Transport-Security: - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding X-Content-Type-Options: - nosniff - status: 202 Accepted - code: 202 + status: 200 OK + code: 200 duration: "" - request: body: "" form: {} headers: + Accept: + - application/json Test-Request-Attempt: - - "41" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "42" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf?api-version=2020-06-01 + method: DELETE response: body: "" headers: @@ -2806,18 +3150,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -2830,42 +3170,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "43" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "44" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -2874,18 +3180,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -2898,8 +3200,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "45" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "1" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -2908,18 +3210,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -2932,8 +3230,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "46" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "2" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -2942,18 +3240,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -2966,8 +3260,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "47" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "3" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -2976,18 +3270,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3000,8 +3290,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "48" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "4" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3010,18 +3300,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3034,8 +3320,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "49" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "5" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3044,18 +3330,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3068,8 +3350,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "50" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "6" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3078,18 +3360,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3102,8 +3380,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "51" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "7" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3112,18 +3390,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3136,8 +3410,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "52" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "8" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3146,18 +3420,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3170,8 +3440,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "53" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "9" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3180,18 +3450,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3204,8 +3470,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "54" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "10" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3214,18 +3480,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3238,8 +3500,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "55" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "11" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3248,18 +3510,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3272,8 +3530,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "56" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "12" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3282,18 +3540,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3306,8 +3560,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "57" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "13" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3316,18 +3570,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3340,8 +3590,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "58" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "14" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3350,18 +3600,14 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -3374,8 +3620,8 @@ interactions: form: {} headers: Test-Request-Attempt: - - "59" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - "15" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: body: "" @@ -3384,3023 +3630,89 @@ interactions: - no-cache Content-Length: - "0" - Content-Type: - - text/plain; charset=utf-8 Expires: - "-1" Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: - nosniff status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "60" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "61" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "62" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "63" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "64" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "65" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "66" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "67" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "68" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "69" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "70" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "71" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "72" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "73" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "74" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "75" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "76" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "77" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "78" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "79" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "80" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "81" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "82" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "83" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "84" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "85" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "86" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "87" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "88" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "89" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "90" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "91" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "92" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "93" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "94" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "95" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "96" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "97" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "98" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "99" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "100" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "101" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "102" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "103" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "104" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "105" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "106" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "107" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "108" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "109" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "110" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "111" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "112" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "113" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "114" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "115" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "116" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "117" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "118" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "119" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "120" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "121" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "122" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "123" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "124" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "125" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: "" - headers: - Cache-Control: - - no-cache - Content-Length: - - "0" - Content-Type: - - text/plain; charset=utf-8 - Expires: - - "-1" - Location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - Pragma: - - no-cache - Retry-After: - - "3" - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 202 Accepted - code: 202 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "126" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/46469a29-c43f-4d87-8dfd-7165c59f1b4f?monitor=true&api-version=2021-04-01 - method: GET - response: - body: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage","name":"asosamplestorage","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"keyCreationTime":{"key1":"2001-02-03T04:05:06Z","key2":"2001-02-03T04:05:06Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2001-02-03T04:05:06Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2001-02-03T04:05:06Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2001-02-03T04:05:06Z","primaryEndpoints":{"dfs":"https://asosamplestorage.dfs.core.windows.net/","blob":"https://asosamplestorage.blob.core.windows.net/","table":"https://asosamplestorage.table.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}}' - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage?api-version=2021-04-01 - method: GET - response: - body: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage","name":"asosamplestorage","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"keyCreationTime":{"key1":"2001-02-03T04:05:06Z","key2":"2001-02-03T04:05:06Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2001-02-03T04:05:06Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2001-02-03T04:05:06Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2001-02-03T04:05:06Z","primaryEndpoints":{"dfs":"https://asosamplestorage.dfs.core.windows.net/","blob":"https://asosamplestorage.blob.core.windows.net/","table":"https://asosamplestorage.table.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}}' - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: '{"location":"westus2","name":"aso-sample-privateendpoint","properties":{"privateLinkServiceConnections":[{"name":"testEndpoint","properties":{"groupIds":["blob"],"privateLinkServiceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage"}}],"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1"}}}' - form: {} - headers: - Accept: - - application/json - Content-Length: - - "526" - Content-Type: - - application/json - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint?api-version=2022-07-01 - method: PUT - response: - body: "{\r\n \"name\": \"aso-sample-privateendpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint\",\r\n - \ \"etag\": \"W/\\\"797a643a-413c-46a8-931b-183a9885a311\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"ad71b1ef-a943-4287-b7a7-3a6f6a18e56e\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"testEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateLinkServiceConnections/testEndpoint\",\r\n - \ \"etag\": \"W/\\\"797a643a-413c-46a8-931b-183a9885a311\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage\",\r\n - \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": - {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto - Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n - \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": - \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\"\r\n - \ },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-privateendpoint.nic.1b0685b0-00b5-4ec8-b94f-459d2f050c3c\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" - headers: - Azure-Asyncnotification: - - Enabled - Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/78215892-8ea9-4be5-8548-deb0761094f5?api-version=2022-07-01 - Cache-Control: - - no-cache - Content-Length: - - "2065" - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Retry-After: - - "10" - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 201 Created - code: 201 - duration: "" -- request: - body: '{"location":"westus2","name":"aso-sample-pls","properties":{"autoApproval":{"subscriptions":["00000000-0000-0000-0000-000000000000"]},"ipConfigurations":[{"name":"config","properties":{"privateIPAddressVersion":"IPv4","privateIPAllocationMethod":"Dynamic","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet"}}}],"loadBalancerFrontendIpConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend"}],"visibility":{"subscriptions":["00000000-0000-0000-0000-000000000000"]}}}' - form: {} - headers: - Accept: - - application/json - Content-Length: - - "766" - Content-Type: - - application/json - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls?api-version=2022-07-01 - method: PUT - response: - body: "{\r\n \"name\": \"aso-sample-pls\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls\",\r\n - \ \"etag\": \"W/\\\"afe3b06a-ab0b-4f34-950b-24d6b6901be5\\\"\",\r\n \"type\": - \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"79f6662d-45b2-49a1-b93a-66a3212506e2\",\r\n \"fqdns\": [],\r\n \"alias\": - \"aso-sample-pls.f72b5ef7-148d-44ea-8230-c0cb03af362e.westus2.azure.privatelinkservice\",\r\n - \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n - \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n - \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n \"enableProxyProtocol\": - false,\r\n \"loadBalancerFrontendIpConfigurations\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n - \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": - \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls/ipConfigurations/config\",\r\n - \ \"etag\": \"W/\\\"afe3b06a-ab0b-4f34-950b-24d6b6901be5\\\"\",\r\n \"type\": - \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n - \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": - \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": - [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-pls.nic.c04088fe-2f54-421f-8c9e-54ee69af71f2\"\r\n - \ }\r\n ]\r\n }\r\n}" - headers: - Azure-Asyncnotification: - - Enabled - Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/37746709-851a-4592-b8ef-adecce8754f0?api-version=2022-07-01 - Cache-Control: - - no-cache - Content-Length: - - "2255" - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Retry-After: - - "10" - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 201 Created - code: 201 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/78215892-8ea9-4be5-8548-deb0761094f5?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Retry-After: - - "10" - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/37746709-851a-4592-b8ef-adecce8754f0?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Retry-After: - - "10" - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/78215892-8ea9-4be5-8548-deb0761094f5?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Retry-After: - - "20" - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/37746709-851a-4592-b8ef-adecce8754f0?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"name\": \"aso-sample-pls\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls\",\r\n - \ \"etag\": \"W/\\\"c388db1f-5ca1-4f7f-b541-a810830a04e9\\\"\",\r\n \"type\": - \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"79f6662d-45b2-49a1-b93a-66a3212506e2\",\r\n \"fqdns\": [],\r\n \"alias\": - \"aso-sample-pls.f72b5ef7-148d-44ea-8230-c0cb03af362e.westus2.azure.privatelinkservice\",\r\n - \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n - \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n - \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n \"enableProxyProtocol\": - false,\r\n \"loadBalancerFrontendIpConfigurations\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n - \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": - \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls/ipConfigurations/config\",\r\n - \ \"etag\": \"W/\\\"c388db1f-5ca1-4f7f-b541-a810830a04e9\\\"\",\r\n \"type\": - \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n - \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": - \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": - [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-pls.nic.c04088fe-2f54-421f-8c9e-54ee69af71f2\"\r\n - \ }\r\n ]\r\n }\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Etag: - - W/"c388db1f-5ca1-4f7f-b541-a810830a04e9" - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"name\": \"aso-sample-pls\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls\",\r\n - \ \"etag\": \"W/\\\"c388db1f-5ca1-4f7f-b541-a810830a04e9\\\"\",\r\n \"type\": - \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"79f6662d-45b2-49a1-b93a-66a3212506e2\",\r\n \"fqdns\": [],\r\n \"alias\": - \"aso-sample-pls.f72b5ef7-148d-44ea-8230-c0cb03af362e.westus2.azure.privatelinkservice\",\r\n - \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n - \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n - \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n \"enableProxyProtocol\": - false,\r\n \"loadBalancerFrontendIpConfigurations\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer/frontendIPConfigurations/LoadBalancerFrontend\"\r\n - \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": - \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls/ipConfigurations/config\",\r\n - \ \"etag\": \"W/\\\"c388db1f-5ca1-4f7f-b541-a810830a04e9\\\"\",\r\n \"type\": - \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet\"\r\n - \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": - \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": - [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-pls.nic.c04088fe-2f54-421f-8c9e-54ee69af71f2\"\r\n - \ }\r\n ]\r\n }\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Etag: - - W/"c388db1f-5ca1-4f7f-b541-a810830a04e9" - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "2" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/78215892-8ea9-4be5-8548-deb0761094f5?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"name\": \"aso-sample-privateendpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint\",\r\n - \ \"etag\": \"W/\\\"be313f3a-ffc2-4f60-9670-d125b9238494\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"ad71b1ef-a943-4287-b7a7-3a6f6a18e56e\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"testEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateLinkServiceConnections/testEndpoint\",\r\n - \ \"etag\": \"W/\\\"be313f3a-ffc2-4f60-9670-d125b9238494\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage\",\r\n - \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": - {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n - \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": - \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n - \ ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": - \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\"\r\n - \ },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-privateendpoint.nic.1b0685b0-00b5-4ec8-b94f-459d2f050c3c\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"asosamplestorage.blob.core.windows.net\",\r\n \"ipAddresses\": [\r\n - \ \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Etag: - - W/"be313f3a-ffc2-4f60-9670-d125b9238494" - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"name\": \"aso-sample-privateendpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint\",\r\n - \ \"etag\": \"W/\\\"be313f3a-ffc2-4f60-9670-d125b9238494\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"ad71b1ef-a943-4287-b7a7-3a6f6a18e56e\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"testEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateLinkServiceConnections/testEndpoint\",\r\n - \ \"etag\": \"W/\\\"be313f3a-ffc2-4f60-9670-d125b9238494\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage\",\r\n - \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": - {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n - \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": - \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n - \ ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": - \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1\"\r\n - \ },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/networkInterfaces/aso-sample-privateendpoint.nic.1b0685b0-00b5-4ec8-b94f-459d2f050c3c\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"asosamplestorage.blob.core.windows.net\",\r\n \"ipAddresses\": [\r\n - \ \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Etag: - - W/"be313f3a-ffc2-4f60-9670-d125b9238494" - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: '{"name":"aso-sample-dnszonegroup","properties":{"privateDnsZoneConfigs":[{"name":"config","properties":{"privateDnsZoneId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net"}}]}}' - form: {} - headers: - Accept: - - application/json - Content-Length: - - "292" - Content-Type: - - application/json - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup?api-version=2022-07-01 - method: PUT - response: - body: "{\r\n \"name\": \"aso-sample-dnszonegroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup\",\r\n - \ \"etag\": \"W/\\\"d08b7db5-7211-4609-a191-c85cb21f5541\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": - [\r\n {\r\n \"name\": \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup/privateDnsZoneConfigs/config\",\r\n - \ \"etag\": \"W/\\\"d08b7db5-7211-4609-a191-c85cb21f5541\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net\",\r\n - \ \"recordSets\": [\r\n {\r\n \"recordType\": - \"A\",\r\n \"recordSetName\": \"asosamplestorage\",\r\n \"fqdn\": - \"asosamplestorage.privatelink.blob.core.windows.net\",\r\n \"ttl\": - 10,\r\n \"provisioningState\": \"Updating\",\r\n \"ipAddresses\": - [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n}" - headers: - Azure-Asyncnotification: - - Enabled - Azure-Asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9d62b9b0-c309-44cd-a165-a73799ee09f4?api-version=2022-07-01 - Cache-Control: - - no-cache - Content-Length: - - "1600" - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Retry-After: - - "10" - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Content-Type-Options: - - nosniff - status: 201 Created - code: 201 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9d62b9b0-c309-44cd-a165-a73799ee09f4?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - Cache-Control: - - no-cache - Content-Type: - - application/json; charset=utf-8 - Expires: - - "-1" - Pragma: - - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding - X-Content-Type-Options: - - nosniff - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup?api-version=2022-07-01 - method: GET - response: - body: "{\r\n \"name\": \"aso-sample-dnszonegroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup\",\r\n - \ \"etag\": \"W/\\\"d704bd2d-2b42-457c-a319-bf6e38e49e43\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": - [\r\n {\r\n \"name\": \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup/privateDnsZoneConfigs/config\",\r\n - \ \"etag\": \"W/\\\"d704bd2d-2b42-457c-a319-bf6e38e49e43\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net\",\r\n - \ \"recordSets\": [\r\n {\r\n \"recordType\": - \"A\",\r\n \"recordSetName\": \"asosamplestorage\",\r\n \"fqdn\": - \"asosamplestorage.privatelink.blob.core.windows.net\",\r\n \"ttl\": - 10,\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipAddresses\": - [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n}" + code: 202 + duration: "" +- request: + body: "" + form: {} + headers: + Test-Request-Attempt: + - "16" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + method: GET + response: + body: "" headers: Cache-Control: - no-cache - Content-Type: - - application/json; charset=utf-8 - Etag: - - W/"d704bd2d-2b42-457c-a319-bf6e38e49e43" + Content-Length: + - "0" Expires: - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 + Retry-After: + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding X-Content-Type-Options: - nosniff - status: 200 OK - code: 200 + status: 202 Accepted + code: 202 duration: "" - request: body: "" form: {} headers: - Accept: - - application/json Test-Request-Attempt: - - "1" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup?api-version=2022-07-01 + - "17" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: - body: "{\r\n \"name\": \"aso-sample-dnszonegroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup\",\r\n - \ \"etag\": \"W/\\\"d704bd2d-2b42-457c-a319-bf6e38e49e43\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": - [\r\n {\r\n \"name\": \"config\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateEndpoints/aso-sample-privateendpoint/privateDnsZoneGroups/aso-sample-dnszonegroup/privateDnsZoneConfigs/config\",\r\n - \ \"etag\": \"W/\\\"d704bd2d-2b42-457c-a319-bf6e38e49e43\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net\",\r\n - \ \"recordSets\": [\r\n {\r\n \"recordType\": - \"A\",\r\n \"recordSetName\": \"asosamplestorage\",\r\n \"fqdn\": - \"asosamplestorage.privatelink.blob.core.windows.net\",\r\n \"ttl\": - 10,\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipAddresses\": - [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n}" + body: "" headers: Cache-Control: - no-cache - Content-Type: - - application/json; charset=utf-8 - Etag: - - W/"d704bd2d-2b42-457c-a319-bf6e38e49e43" + Content-Length: + - "0" Expires: - "-1" + Location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 Pragma: - no-cache - Server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 + Retry-After: + - "15" Strict-Transport-Security: - max-age=31536000; includeSubDomains - Vary: - - Accept-Encoding X-Content-Type-Options: - nosniff - status: 200 OK - code: 200 + status: 202 Accepted + code: 202 duration: "" - request: body: "" form: {} headers: - Accept: - - application/json Test-Request-Attempt: - - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf?api-version=2020-06-01 - method: DELETE + - "18" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 + method: GET response: body: "" headers: @@ -6428,7 +3740,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "0" + - "19" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6458,7 +3770,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "1" + - "20" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6488,7 +3800,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "2" + - "21" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6518,7 +3830,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "3" + - "22" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6548,7 +3860,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "4" + - "23" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6578,7 +3890,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "5" + - "24" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6608,7 +3920,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "6" + - "25" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6638,7 +3950,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "7" + - "26" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6668,7 +3980,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "8" + - "27" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6698,7 +4010,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "9" + - "28" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6728,7 +4040,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "10" + - "29" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6758,7 +4070,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "11" + - "30" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6788,7 +4100,7 @@ interactions: form: {} headers: Test-Request-Attempt: - - "12" + - "31" url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BU09URVNUOjJEUkc6MkRGQVNFQUYtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01 method: GET response: @@ -6817,7 +4129,7 @@ interactions: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage?api-version=2021-04-01 method: DELETE response: body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' @@ -6850,7 +4162,7 @@ interactions: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Storage/storageAccounts/asosamplestorage?api-version=2021-04-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1?api-version=2020-11-01 method: DELETE response: body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' @@ -6883,7 +4195,7 @@ interactions: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/bastionHosts/aso-sample-bastion?api-version=2022-07-01 method: DELETE response: body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' @@ -6916,7 +4228,7 @@ interactions: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net?api-version=2018-09-01 method: DELETE response: body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' @@ -6949,7 +4261,7 @@ interactions: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net?api-version=2018-09-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/publicIPAddresses/bastionpublicip?api-version=2020-11-01 method: DELETE response: body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' @@ -6982,7 +4294,73 @@ interactions: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls?api-version=2022-07-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn?api-version=2020-11-01 + method: DELETE + response: + body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' + could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "109" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Failure-Cause: + - gateway + status: 404 Not Found + code: 404 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2?api-version=2020-11-01 + method: DELETE + response: + body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' + could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "109" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Failure-Cause: + - gateway + status: 404 Not Found + code: 404 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/loadBalancers/aso-sample-loadbalancer?api-version=2020-11-01 method: DELETE response: body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' @@ -7048,17 +4426,16 @@ interactions: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/privateLinkServices/aso-sample-pls?api-version=2022-07-01 method: DELETE response: - body: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/virtualNetworks/aso-sample-vn'' - under resource group ''asotest-rg-faseaf'' was not found. For more details please - go to https://aka.ms/ARMResourceNotFoundFix"}}' + body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-faseaf'' + could not be found."}}' headers: Cache-Control: - no-cache Content-Length: - - "236" + - "109" Content-Type: - application/json; charset=utf-8 Expires: @@ -7115,10 +4492,10 @@ interactions: - application/json Test-Request-Attempt: - "0" - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn2/subnets/AzureBastionSubnet?api-version=2020-11-01 method: DELETE response: - body: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/virtualNetworks/aso-sample-vn1'' + body: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/virtualNetworks/aso-sample-vn2'' under resource group ''asotest-rg-faseaf'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -7141,6 +4518,40 @@ interactions: status: 404 Not Found code: 404 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn/subnets/aso-sample-subnet?api-version=2020-11-01 + method: DELETE + response: + body: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/virtualNetworks/aso-sample-vn'' + under resource group ''asotest-rg-faseaf'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "236" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Failure-Cause: + - gateway + status: 404 Not Found + code: 404 + duration: "" - request: body: "" form: {} @@ -7175,3 +4586,37 @@ interactions: status: 404 Not Found code: 404 duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Test-Request-Attempt: + - "0" + url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-faseaf/providers/Microsoft.Network/virtualNetworks/aso-sample-vn1/subnets/aso-sample-subnet1?api-version=2020-11-01 + method: DELETE + response: + body: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/virtualNetworks/aso-sample-vn1'' + under resource group ''asotest-rg-faseaf'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "237" + Content-Type: + - application/json; charset=utf-8 + Expires: + - "-1" + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Failure-Cause: + - gateway + status: 404 Not Found + code: 404 + duration: "" diff --git a/v2/samples/network/v1api20220701/refs/v1api20201101_publicipaddress-bastion.yaml b/v2/samples/network/v1api20220701/refs/v1api20201101_publicipaddress-bastion.yaml new file mode 100644 index 00000000000..2dbea7ec233 --- /dev/null +++ b/v2/samples/network/v1api20220701/refs/v1api20201101_publicipaddress-bastion.yaml @@ -0,0 +1,12 @@ +apiVersion: network.azure.com/v1api20201101 +kind: PublicIPAddress +metadata: + name: bastionpublicip + namespace: default +spec: + location: westus2 + owner: + name: aso-sample-rg + sku: + name: Standard + publicIPAllocationMethod: Static diff --git a/v2/samples/network/v1api20220701/refs/v1api20201101_virtualnetwork-bastion.yaml b/v2/samples/network/v1api20220701/refs/v1api20201101_virtualnetwork-bastion.yaml new file mode 100644 index 00000000000..ec8c9efa4f0 --- /dev/null +++ b/v2/samples/network/v1api20220701/refs/v1api20201101_virtualnetwork-bastion.yaml @@ -0,0 +1,12 @@ +apiVersion: network.azure.com/v1api20201101 +kind: VirtualNetwork +metadata: + name: aso-sample-vn2 + namespace: default +spec: + addressSpace: + addressPrefixes: + - 10.0.0.0/16 + location: westus2 + owner: + name: aso-sample-rg diff --git a/v2/samples/network/v1api20220701/refs/v1api20201101_virtualnetworkssubnet-bastion.yaml b/v2/samples/network/v1api20220701/refs/v1api20201101_virtualnetworkssubnet-bastion.yaml new file mode 100644 index 00000000000..6cca0c4bbae --- /dev/null +++ b/v2/samples/network/v1api20220701/refs/v1api20201101_virtualnetworkssubnet-bastion.yaml @@ -0,0 +1,10 @@ +apiVersion: network.azure.com/v1api20201101 +kind: VirtualNetworksSubnet +metadata: + name: aso-sample-subnet-bastion + namespace: default +spec: + addressPrefix: 10.0.0.0/24 + owner: + name: aso-sample-vn2 + azureName: AzureBastionSubnet diff --git a/v2/samples/network/v1api20220701/v1api20220701_bastionhost.yaml b/v2/samples/network/v1api20220701/v1api20220701_bastionhost.yaml new file mode 100644 index 00000000000..3993c72c4f4 --- /dev/null +++ b/v2/samples/network/v1api20220701/v1api20220701_bastionhost.yaml @@ -0,0 +1,21 @@ +apiVersion: network.azure.com/v1api20220701 +kind: BastionHost +metadata: + name: aso-sample-bastion + namespace: default +spec: + location: westus2 + owner: + name: aso-sample-rg + ipConfigurations: + - name: IpConf + publicIPAddress: + reference: + group: network.azure.com + kind: PublicIPAddress + name: bastionpublicip + subnet: + reference: + group: network.azure.com + kind: VirtualNetworksSubnet + name: aso-sample-subnet-bastion