From ac8e0988fd9487fda2a21855d2fecc985791295c Mon Sep 17 00:00:00 2001 From: Peng Jiahui <46921893+Alancere@users.noreply.github.com> Date: Thu, 3 Nov 2022 11:38:00 +0800 Subject: [PATCH] sdk/resourcemanager/eventgrid/armeventgrid live test (#19453) * sdk/resourcemanager/redis/armredis live test * subscriptionId default value * remove key --- .../armeventgrid/eventgrid_live_test.go | 1230 ++ .../eventgrid/armeventgrid/go.mod | 10 +- .../eventgrid/armeventgrid/go.sum | 21 +- .../recordings/TestEventGridTestSuite.json | 12008 ++++++++++++++++ 4 files changed, 13266 insertions(+), 3 deletions(-) create mode 100644 sdk/resourcemanager/eventgrid/armeventgrid/eventgrid_live_test.go create mode 100644 sdk/resourcemanager/eventgrid/armeventgrid/testdata/recordings/TestEventGridTestSuite.json diff --git a/sdk/resourcemanager/eventgrid/armeventgrid/eventgrid_live_test.go b/sdk/resourcemanager/eventgrid/armeventgrid/eventgrid_live_test.go new file mode 100644 index 000000000000..7ec250b20e27 --- /dev/null +++ b/sdk/resourcemanager/eventgrid/armeventgrid/eventgrid_live_test.go @@ -0,0 +1,1230 @@ +//go:build go1.18 +// +build go1.18 + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package armeventgrid_test + +import ( + "context" + "testing" + + "github.com/Azure/azure-sdk-for-go/sdk/azcore" + "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" + "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventgrid/armeventgrid/v2" + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/testutil" + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" + "github.com/stretchr/testify/suite" +) + +type EventGridTestSuite struct { + suite.Suite + + ctx context.Context + cred azcore.TokenCredential + options *arm.ClientOptions + domainId string + domainName string + domainTopicName string + eventSubscriptionName string + eventhubId string + namespaceName string + partnerNamespaceName string + partnerRegistrationId string + partnerRegistrationName string + privateEndpointName string + systemTopicName string + topicName string + virtualNetworksName string + location string + resourceGroupName string + subscriptionId string +} + +func (testsuite *EventGridTestSuite) SetupSuite() { + testutil.StartRecording(testsuite.T(), "sdk/resourcemanager/eventgrid/armeventgrid/testdata") + + testsuite.ctx = context.Background() + testsuite.cred, testsuite.options = testutil.GetCredAndClientOptions(testsuite.T()) + testsuite.domainName = testutil.GenerateAlphaNumericID(testsuite.T(), "domainname", 6) + testsuite.domainTopicName = testutil.GenerateAlphaNumericID(testsuite.T(), "domaintopi", 6) + testsuite.eventSubscriptionName = testutil.GenerateAlphaNumericID(testsuite.T(), "eventsubsc", 6) + testsuite.namespaceName = testutil.GenerateAlphaNumericID(testsuite.T(), "eventhubna", 6) + testsuite.partnerNamespaceName = testutil.GenerateAlphaNumericID(testsuite.T(), "partnernam", 6) + testsuite.partnerRegistrationName = testutil.GenerateAlphaNumericID(testsuite.T(), "partnerreg", 6) + testsuite.privateEndpointName = testutil.GenerateAlphaNumericID(testsuite.T(), "eventgridprivateendpoint", 6) + testsuite.systemTopicName = testutil.GenerateAlphaNumericID(testsuite.T(), "systemtopi", 6) + testsuite.topicName = testutil.GenerateAlphaNumericID(testsuite.T(), "topicname", 6) + testsuite.virtualNetworksName = testutil.GenerateAlphaNumericID(testsuite.T(), "eventgridvnet", 6) + testsuite.location = testutil.GetEnv("LOCATION", "eastus") + testsuite.resourceGroupName = testutil.GetEnv("RESOURCE_GROUP_NAME", "scenarioTestTempGroup") + testsuite.subscriptionId = testutil.GetEnv("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000") + resourceGroup, _, err := testutil.CreateResourceGroup(testsuite.ctx, testsuite.subscriptionId, testsuite.cred, testsuite.options, testsuite.location) + testsuite.Require().NoError(err) + testsuite.resourceGroupName = *resourceGroup.Name + testsuite.Prepare() +} + +func (testsuite *EventGridTestSuite) TearDownSuite() { + testsuite.Cleanup() + _, err := testutil.DeleteResourceGroup(testsuite.ctx, testsuite.subscriptionId, testsuite.cred, testsuite.options, testsuite.resourceGroupName) + testsuite.Require().NoError(err) + testutil.StopRecording(testsuite.T()) +} + +func TestEventGridTestSuite(t *testing.T) { + suite.Run(t, new(EventGridTestSuite)) +} + +func (testsuite *EventGridTestSuite) Prepare() { + var err error + // From step Domains_CreateOrUpdate + domainsClient, err := armeventgrid.NewDomainsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + domainsClientCreateOrUpdateResponsePoller, err := domainsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, armeventgrid.Domain{ + Location: to.Ptr(testsuite.location), + Tags: map[string]*string{ + "tag1": to.Ptr("value1"), + "tag2": to.Ptr("value2"), + }, + Properties: &armeventgrid.DomainProperties{ + InboundIPRules: []*armeventgrid.InboundIPRule{ + { + Action: to.Ptr(armeventgrid.IPActionTypeAllow), + IPMask: to.Ptr("12.18.30.15"), + }, + { + Action: to.Ptr(armeventgrid.IPActionTypeAllow), + IPMask: to.Ptr("12.18.176.1"), + }}, + PublicNetworkAccess: to.Ptr(armeventgrid.PublicNetworkAccessEnabled), + }, + }, nil) + testsuite.Require().NoError(err) + var domainsClientCreateOrUpdateResponse *armeventgrid.DomainsClientCreateOrUpdateResponse + domainsClientCreateOrUpdateResponse, err = testutil.PollForTest(testsuite.ctx, domainsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + testsuite.domainId = *domainsClientCreateOrUpdateResponse.ID + + // From step Topics_CreateOrUpdate + topicsClient, err := armeventgrid.NewTopicsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + topicsClientCreateOrUpdateResponsePoller, err := topicsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, armeventgrid.Topic{ + Location: to.Ptr(testsuite.location), + Tags: map[string]*string{ + "tag1": to.Ptr("value1"), + "tag2": to.Ptr("value2"), + }, + Properties: &armeventgrid.TopicProperties{ + InboundIPRules: []*armeventgrid.InboundIPRule{ + { + Action: to.Ptr(armeventgrid.IPActionTypeAllow), + IPMask: to.Ptr("12.18.30.15"), + }, + { + Action: to.Ptr(armeventgrid.IPActionTypeAllow), + IPMask: to.Ptr("12.18.176.1"), + }}, + PublicNetworkAccess: to.Ptr(armeventgrid.PublicNetworkAccessEnabled), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, topicsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step PartnerRegistrations_CreateOrUpdate + partnerRegistrationsClient, err := armeventgrid.NewPartnerRegistrationsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + partnerRegistrationsClientCreateOrUpdateResponsePoller, err := partnerRegistrationsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerRegistrationName, armeventgrid.PartnerRegistration{ + Location: to.Ptr("global"), + }, nil) + testsuite.Require().NoError(err) + var partnerRegistrationsClientCreateOrUpdateResponse *armeventgrid.PartnerRegistrationsClientCreateOrUpdateResponse + partnerRegistrationsClientCreateOrUpdateResponse, err = testutil.PollForTest(testsuite.ctx, partnerRegistrationsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + testsuite.partnerRegistrationId = *partnerRegistrationsClientCreateOrUpdateResponse.ID + + // From step SystemTopics_CreateOrUpdate + systemTopicsClient, err := armeventgrid.NewSystemTopicsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + systemTopicsClientCreateOrUpdateResponsePoller, err := systemTopicsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, armeventgrid.SystemTopic{ + Location: to.Ptr("global"), + Properties: &armeventgrid.SystemTopicProperties{ + Source: to.Ptr("/subscriptions/" + testsuite.subscriptionId), + TopicType: to.Ptr("Microsoft.Resources.Subscriptions"), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, systemTopicsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step Eventhub_Create + template := map[string]interface{}{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "outputs": map[string]interface{}{ + "eventhubId": map[string]interface{}{ + "type": "string", + "value": "[resourceId('Microsoft.EventHub/namespaces/eventhubs', parameters('namespaceName'), 'eventhubs')]", + }, + }, + "parameters": map[string]interface{}{ + "location": map[string]interface{}{ + "type": "string", + "defaultValue": testsuite.location, + }, + "namespaceName": map[string]interface{}{ + "type": "string", + "defaultValue": testsuite.namespaceName, + }, + }, + "resources": []interface{}{ + map[string]interface{}{ + "name": "[parameters('namespaceName')]", + "type": "Microsoft.EventHub/namespaces", + "apiVersion": "2022-01-01-preview", + "location": "[parameters('location')]", + "properties": map[string]interface{}{ + "disableLocalAuth": false, + "isAutoInflateEnabled": false, + "kafkaEnabled": true, + "maximumThroughputUnits": float64(0), + "minimumTlsVersion": "1.0", + "publicNetworkAccess": "Enabled", + "zoneRedundant": false, + }, + "sku": map[string]interface{}{ + "name": "Standard", + "capacity": float64(1), + "tier": "Standard", + }, + }, + map[string]interface{}{ + "name": "[concat(parameters('namespaceName'), '/eventhubs')]", + "type": "Microsoft.EventHub/namespaces/eventhubs", + "apiVersion": "2022-01-01-preview", + "dependsOn": []interface{}{ + "[resourceId('Microsoft.EventHub/namespaces', parameters('namespaceName'))]", + }, + "location": "[parameters('location')]", + "properties": map[string]interface{}{ + "messageRetentionInDays": float64(1), + "partitionCount": float64(1), + "status": "Active", + }, + }, + }, + "variables": map[string]interface{}{}, + } + deployment := armresources.Deployment{ + Properties: &armresources.DeploymentProperties{ + Template: template, + Mode: to.Ptr(armresources.DeploymentModeIncremental), + }, + } + deploymentExtend, err := testutil.CreateDeployment(testsuite.ctx, testsuite.subscriptionId, testsuite.cred, testsuite.options, testsuite.resourceGroupName, "Eventhub_Create", &deployment) + testsuite.Require().NoError(err) + testsuite.eventhubId = deploymentExtend.Properties.Outputs.(map[string]interface{})["eventhubId"].(map[string]interface{})["value"].(string) +} + +// Microsoft.EventGrid/domains +func (testsuite *EventGridTestSuite) TestDomains() { + var err error + // From step Domains_ListBySubscription + domainsClient, err := armeventgrid.NewDomainsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + domainsClientNewListBySubscriptionPager := domainsClient.NewListBySubscriptionPager(&armeventgrid.DomainsClientListBySubscriptionOptions{Filter: nil, + Top: nil, + }) + for domainsClientNewListBySubscriptionPager.More() { + _, err := domainsClientNewListBySubscriptionPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step Domains_ListByResourceGroup + domainsClientNewListByResourceGroupPager := domainsClient.NewListByResourceGroupPager(testsuite.resourceGroupName, &armeventgrid.DomainsClientListByResourceGroupOptions{Filter: nil, + Top: nil, + }) + for domainsClientNewListByResourceGroupPager.More() { + _, err := domainsClientNewListByResourceGroupPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step Domains_Get + _, err = domainsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, nil) + testsuite.Require().NoError(err) + + // From step Domains_Update + domainsClientUpdateResponsePoller, err := domainsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, armeventgrid.DomainUpdateParameters{ + Properties: &armeventgrid.DomainUpdateParameterProperties{ + InboundIPRules: []*armeventgrid.InboundIPRule{ + { + Action: to.Ptr(armeventgrid.IPActionTypeAllow), + IPMask: to.Ptr("12.18.30.15"), + }, + { + Action: to.Ptr(armeventgrid.IPActionTypeAllow), + IPMask: to.Ptr("12.18.176.1"), + }}, + PublicNetworkAccess: to.Ptr(armeventgrid.PublicNetworkAccessEnabled), + }, + Tags: map[string]*string{ + "tag1": to.Ptr("value1"), + "tag2": to.Ptr("value2"), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, domainsClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step Domains_ListSharedAccessKeys + _, err = domainsClient.ListSharedAccessKeys(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, nil) + testsuite.Require().NoError(err) + + // From step Domains_RegenerateKey + _, err = domainsClient.RegenerateKey(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, armeventgrid.DomainRegenerateKeyRequest{ + KeyName: to.Ptr("key1"), + }, nil) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/domains/eventSubscriptions +func (testsuite *EventGridTestSuite) TestDomainEventSubscriptions() { + var err error + // From step DomainEventSubscriptions_CreateOrUpdate + domainEventSubscriptionsClient, err := armeventgrid.NewDomainEventSubscriptionsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + domainEventSubscriptionsClientCreateOrUpdateResponsePoller, err := domainEventSubscriptionsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.eventSubscriptionName, armeventgrid.EventSubscription{ + Properties: &armeventgrid.EventSubscriptionProperties{ + Destination: &armeventgrid.EventHubEventSubscriptionDestination{ + EndpointType: to.Ptr(armeventgrid.EndpointTypeEventHub), + Properties: &armeventgrid.EventHubEventSubscriptionDestinationProperties{ + ResourceID: to.Ptr(testsuite.eventhubId), + }, + }, + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, domainEventSubscriptionsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step DomainEventSubscriptions_List + domainEventSubscriptionsClientNewListPager := domainEventSubscriptionsClient.NewListPager(testsuite.resourceGroupName, testsuite.domainName, &armeventgrid.DomainEventSubscriptionsClientListOptions{Filter: nil, + Top: nil, + }) + for domainEventSubscriptionsClientNewListPager.More() { + _, err := domainEventSubscriptionsClientNewListPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step DomainEventSubscriptions_Get + _, err = domainEventSubscriptionsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step DomainEventSubscriptions_Update + domainEventSubscriptionsClientUpdateResponsePoller, err := domainEventSubscriptionsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.eventSubscriptionName, armeventgrid.EventSubscriptionUpdateParameters{ + Labels: []*string{ + to.Ptr("label1")}, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, domainEventSubscriptionsClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step DomainEventSubscriptions_GetDeliveryAttributes + _, err = domainEventSubscriptionsClient.GetDeliveryAttributes(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step DomainEventSubscriptions_Delete + domainEventSubscriptionsClientDeleteResponsePoller, err := domainEventSubscriptionsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, domainEventSubscriptionsClientDeleteResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/domains/topics +func (testsuite *EventGridTestSuite) TestDomainTopics() { + var err error + // From step DomainTopics_CreateOrUpdate + domainTopicsClient, err := armeventgrid.NewDomainTopicsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + domainTopicsClientCreateOrUpdateResponsePoller, err := domainTopicsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.domainTopicName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, domainTopicsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step DomainTopics_ListByDomain + domainTopicsClientNewListByDomainPager := domainTopicsClient.NewListByDomainPager(testsuite.resourceGroupName, testsuite.domainName, &armeventgrid.DomainTopicsClientListByDomainOptions{Filter: nil, + Top: nil, + }) + for domainTopicsClientNewListByDomainPager.More() { + _, err := domainTopicsClientNewListByDomainPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step DomainTopics_Get + _, err = domainTopicsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.domainTopicName, nil) + testsuite.Require().NoError(err) + + // From step DomainTopicEventSubscriptions_CreateOrUpdate + domainTopicEventSubscriptionsClient, err := armeventgrid.NewDomainTopicEventSubscriptionsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + domainTopicEventSubscriptionsClientCreateOrUpdateResponsePoller, err := domainTopicEventSubscriptionsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.topicName, testsuite.eventSubscriptionName, armeventgrid.EventSubscription{ + Properties: &armeventgrid.EventSubscriptionProperties{ + Destination: &armeventgrid.EventHubEventSubscriptionDestination{ + EndpointType: to.Ptr(armeventgrid.EndpointTypeEventHub), + Properties: &armeventgrid.EventHubEventSubscriptionDestinationProperties{ + ResourceID: to.Ptr(testsuite.eventhubId), + }, + }, + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, domainTopicEventSubscriptionsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step DomainTopicEventSubscriptions_List + domainTopicEventSubscriptionsClientNewListPager := domainTopicEventSubscriptionsClient.NewListPager(testsuite.resourceGroupName, testsuite.domainName, testsuite.topicName, &armeventgrid.DomainTopicEventSubscriptionsClientListOptions{Filter: nil, + Top: nil, + }) + for domainTopicEventSubscriptionsClientNewListPager.More() { + _, err := domainTopicEventSubscriptionsClientNewListPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step DomainTopicEventSubscriptions_Get + _, err = domainTopicEventSubscriptionsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.topicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step DomainTopicEventSubscriptions_GetDeliveryAttributes + _, err = domainTopicEventSubscriptionsClient.GetDeliveryAttributes(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.topicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step DomainTopicEventSubscriptions_Delete + domainTopicEventSubscriptionsClientDeleteResponsePoller, err := domainTopicEventSubscriptionsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.topicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, domainTopicEventSubscriptionsClientDeleteResponsePoller) + testsuite.Require().NoError(err) + + // From step DomainTopics_Delete + domainTopicsClientDeleteResponsePoller, err := domainTopicsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.domainName, testsuite.domainTopicName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, domainTopicsClientDeleteResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/topics +func (testsuite *EventGridTestSuite) TestTopics() { + var err error + // From step Topics_ListBySubscription + topicsClient, err := armeventgrid.NewTopicsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + topicsClientNewListBySubscriptionPager := topicsClient.NewListBySubscriptionPager(&armeventgrid.TopicsClientListBySubscriptionOptions{Filter: nil, + Top: nil, + }) + for topicsClientNewListBySubscriptionPager.More() { + _, err := topicsClientNewListBySubscriptionPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step Topics_ListByResourceGroup + topicsClientNewListByResourceGroupPager := topicsClient.NewListByResourceGroupPager(testsuite.resourceGroupName, &armeventgrid.TopicsClientListByResourceGroupOptions{Filter: nil, + Top: nil, + }) + for topicsClientNewListByResourceGroupPager.More() { + _, err := topicsClientNewListByResourceGroupPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step Topics_Get + _, err = topicsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, nil) + testsuite.Require().NoError(err) + + // From step Topics_Update + topicsClientUpdateResponsePoller, err := topicsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, armeventgrid.TopicUpdateParameters{ + Properties: &armeventgrid.TopicUpdateParameterProperties{ + InboundIPRules: []*armeventgrid.InboundIPRule{ + { + Action: to.Ptr(armeventgrid.IPActionTypeAllow), + IPMask: to.Ptr("12.18.30.15"), + }, + { + Action: to.Ptr(armeventgrid.IPActionTypeAllow), + IPMask: to.Ptr("12.18.176.1"), + }}, + PublicNetworkAccess: to.Ptr(armeventgrid.PublicNetworkAccessEnabled), + }, + Tags: map[string]*string{ + "tag1": to.Ptr("value1"), + "tag2": to.Ptr("value2"), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, topicsClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step Topics_ListSharedAccessKeys + _, err = topicsClient.ListSharedAccessKeys(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, nil) + testsuite.Require().NoError(err) + + // From step Topics_RegenerateKey + topicsClientRegenerateKeyResponsePoller, err := topicsClient.BeginRegenerateKey(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, armeventgrid.TopicRegenerateKeyRequest{ + KeyName: to.Ptr("key1"), + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, topicsClientRegenerateKeyResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/topics/eventSubscriptions +func (testsuite *EventGridTestSuite) TestTopicEventSubscriptions() { + var err error + // From step TopicEventSubscriptions_CreateOrUpdate + topicEventSubscriptionsClient, err := armeventgrid.NewTopicEventSubscriptionsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + topicEventSubscriptionsClientCreateOrUpdateResponsePoller, err := topicEventSubscriptionsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, testsuite.eventSubscriptionName, armeventgrid.EventSubscription{ + Properties: &armeventgrid.EventSubscriptionProperties{ + Destination: &armeventgrid.EventHubEventSubscriptionDestination{ + EndpointType: to.Ptr(armeventgrid.EndpointTypeEventHub), + Properties: &armeventgrid.EventHubEventSubscriptionDestinationProperties{ + ResourceID: to.Ptr(testsuite.eventhubId), + }, + }, + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, topicEventSubscriptionsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step TopicEventSubscriptions_List + topicEventSubscriptionsClientNewListPager := topicEventSubscriptionsClient.NewListPager(testsuite.resourceGroupName, testsuite.topicName, &armeventgrid.TopicEventSubscriptionsClientListOptions{Filter: nil, + Top: nil, + }) + for topicEventSubscriptionsClientNewListPager.More() { + _, err := topicEventSubscriptionsClientNewListPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step TopicEventSubscriptions_Get + _, err = topicEventSubscriptionsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step TopicEventSubscriptions_Update + topicEventSubscriptionsClientUpdateResponsePoller, err := topicEventSubscriptionsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, testsuite.eventSubscriptionName, armeventgrid.EventSubscriptionUpdateParameters{ + Labels: []*string{ + to.Ptr("label1")}, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, topicEventSubscriptionsClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step TopicEventSubscriptions_GetDeliveryAttributes + _, err = topicEventSubscriptionsClient.GetDeliveryAttributes(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step TopicEventSubscriptions_Delete + topicEventSubscriptionsClientDeleteResponsePoller, err := topicEventSubscriptionsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, topicEventSubscriptionsClientDeleteResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/partnerRegistrations +func (testsuite *EventGridTestSuite) TestPartnerRegistrations() { + var err error + // From step PartnerRegistrations_ListBySubscription + partnerRegistrationsClient, err := armeventgrid.NewPartnerRegistrationsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + partnerRegistrationsClientNewListBySubscriptionPager := partnerRegistrationsClient.NewListBySubscriptionPager(&armeventgrid.PartnerRegistrationsClientListBySubscriptionOptions{Filter: nil, + Top: nil, + }) + for partnerRegistrationsClientNewListBySubscriptionPager.More() { + _, err := partnerRegistrationsClientNewListBySubscriptionPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step PartnerRegistrations_Get + _, err = partnerRegistrationsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerRegistrationName, nil) + testsuite.Require().NoError(err) + + // From step PartnerRegistrations_ListByResourceGroup + partnerRegistrationsClientNewListByResourceGroupPager := partnerRegistrationsClient.NewListByResourceGroupPager(testsuite.resourceGroupName, &armeventgrid.PartnerRegistrationsClientListByResourceGroupOptions{Filter: nil, + Top: nil, + }) + for partnerRegistrationsClientNewListByResourceGroupPager.More() { + _, err := partnerRegistrationsClientNewListByResourceGroupPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step PartnerRegistrations_Update + partnerRegistrationsClientUpdateResponsePoller, err := partnerRegistrationsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerRegistrationName, armeventgrid.PartnerRegistrationUpdateParameters{ + Tags: map[string]*string{ + "tag1": to.Ptr("value1"), + "tag2": to.Ptr("value2"), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, partnerRegistrationsClientUpdateResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/partnerNamespaces +func (testsuite *EventGridTestSuite) TestPartnerNamespaces() { + var err error + // From step PartnerNamespaces_CreateOrUpdate + partnerNamespacesClient, err := armeventgrid.NewPartnerNamespacesClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + partnerNamespacesClientCreateOrUpdateResponsePoller, err := partnerNamespacesClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerNamespaceName, armeventgrid.PartnerNamespace{ + Location: to.Ptr(testsuite.location), + Tags: map[string]*string{ + "tag1": to.Ptr("value1"), + "tag2": to.Ptr("value2"), + }, + Properties: &armeventgrid.PartnerNamespaceProperties{ + PartnerRegistrationFullyQualifiedID: to.Ptr(testsuite.partnerRegistrationId), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, partnerNamespacesClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step PartnerNamespaces_ListBySubscription + partnerNamespacesClientNewListBySubscriptionPager := partnerNamespacesClient.NewListBySubscriptionPager(&armeventgrid.PartnerNamespacesClientListBySubscriptionOptions{Filter: nil, + Top: nil, + }) + for partnerNamespacesClientNewListBySubscriptionPager.More() { + _, err := partnerNamespacesClientNewListBySubscriptionPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step PartnerNamespaces_ListByResourceGroup + partnerNamespacesClientNewListByResourceGroupPager := partnerNamespacesClient.NewListByResourceGroupPager(testsuite.resourceGroupName, &armeventgrid.PartnerNamespacesClientListByResourceGroupOptions{Filter: nil, + Top: nil, + }) + for partnerNamespacesClientNewListByResourceGroupPager.More() { + _, err := partnerNamespacesClientNewListByResourceGroupPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step PartnerNamespaces_Get + _, err = partnerNamespacesClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerNamespaceName, nil) + testsuite.Require().NoError(err) + + // From step PartnerNamespaces_Update + partnerNamespacesClientUpdateResponsePoller, err := partnerNamespacesClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerNamespaceName, armeventgrid.PartnerNamespaceUpdateParameters{ + Tags: map[string]*string{ + "tag1": to.Ptr("value1"), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, partnerNamespacesClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step PartnerNamespaces_ListSharedAccessKeys + _, err = partnerNamespacesClient.ListSharedAccessKeys(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerNamespaceName, nil) + testsuite.Require().NoError(err) + + // From step PartnerNamespaces_RegenerateKey + _, err = partnerNamespacesClient.RegenerateKey(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerNamespaceName, armeventgrid.PartnerNamespaceRegenerateKeyRequest{ + KeyName: to.Ptr("key1"), + }, nil) + testsuite.Require().NoError(err) + + // From step PartnerNamespaces_Delete + partnerNamespacesClientDeleteResponsePoller, err := partnerNamespacesClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerNamespaceName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, partnerNamespacesClientDeleteResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/partnerConfigurations/default +func (testsuite *EventGridTestSuite) TestPartnerConfigurations() { + var err error + // From step PartnerConfigurations_CreateOrUpdate + partnerConfigurationsClient, err := armeventgrid.NewPartnerConfigurationsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + partnerConfigurationsClientCreateOrUpdateResponsePoller, err := partnerConfigurationsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, armeventgrid.PartnerConfiguration{ + Location: to.Ptr("global"), + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, partnerConfigurationsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step PartnerConfigurations_ListBySubscription + partnerConfigurationsClientNewListBySubscriptionPager := partnerConfigurationsClient.NewListBySubscriptionPager(&armeventgrid.PartnerConfigurationsClientListBySubscriptionOptions{Filter: nil, + Top: nil, + }) + for partnerConfigurationsClientNewListBySubscriptionPager.More() { + _, err := partnerConfigurationsClientNewListBySubscriptionPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step PartnerConfigurations_Get + _, err = partnerConfigurationsClient.Get(testsuite.ctx, testsuite.resourceGroupName, nil) + testsuite.Require().NoError(err) + + // From step PartnerConfigurations_ListByResourceGroup + partnerConfigurationsClientNewListByResourceGroupPager := partnerConfigurationsClient.NewListByResourceGroupPager(testsuite.resourceGroupName, nil) + for partnerConfigurationsClientNewListByResourceGroupPager.More() { + _, err := partnerConfigurationsClientNewListByResourceGroupPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step PartnerConfigurations_Update + partnerConfigurationsClientUpdateResponsePoller, err := partnerConfigurationsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, armeventgrid.PartnerConfigurationUpdateParameters{ + Properties: &armeventgrid.PartnerConfigurationUpdateParameterProperties{ + DefaultMaximumExpirationTimeInDays: to.Ptr[int32](100), + }, + Tags: map[string]*string{ + "tag1": to.Ptr("value11"), + "tag2": to.Ptr("value22"), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, partnerConfigurationsClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step PartnerConfigurations_AuthorizePartner + _, err = partnerConfigurationsClient.AuthorizePartner(testsuite.ctx, testsuite.resourceGroupName, armeventgrid.Partner{ + PartnerName: to.Ptr("Auth0"), + }, nil) + testsuite.Require().NoError(err) + + // From step PartnerConfigurations_UnauthorizePartner + _, err = partnerConfigurationsClient.AuthorizePartner(testsuite.ctx, testsuite.resourceGroupName, armeventgrid.Partner{ + PartnerName: to.Ptr("Auth0"), + }, nil) + testsuite.Require().NoError(err) + + // From step PartnerConfigurations_Delete + partnerConfigurationsClientDeleteResponsePoller, err := partnerConfigurationsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, partnerConfigurationsClientDeleteResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/systemTopics +func (testsuite *EventGridTestSuite) TestSystemTopics() { + var err error + // From step SystemTopics_ListBySubscription + systemTopicsClient, err := armeventgrid.NewSystemTopicsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + systemTopicsClientNewListBySubscriptionPager := systemTopicsClient.NewListBySubscriptionPager(&armeventgrid.SystemTopicsClientListBySubscriptionOptions{Filter: nil, + Top: nil, + }) + for systemTopicsClientNewListBySubscriptionPager.More() { + _, err := systemTopicsClientNewListBySubscriptionPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step SystemTopics_ListByResourceGroup + systemTopicsClientNewListByResourceGroupPager := systemTopicsClient.NewListByResourceGroupPager(testsuite.resourceGroupName, &armeventgrid.SystemTopicsClientListByResourceGroupOptions{Filter: nil, + Top: nil, + }) + for systemTopicsClientNewListByResourceGroupPager.More() { + _, err := systemTopicsClientNewListByResourceGroupPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step SystemTopics_Get + _, err = systemTopicsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, nil) + testsuite.Require().NoError(err) + + // From step SystemTopics_Update + systemTopicsClientUpdateResponsePoller, err := systemTopicsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, armeventgrid.SystemTopicUpdateParameters{ + Tags: map[string]*string{ + "tag1": to.Ptr("value1"), + "tag2": to.Ptr("value2"), + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, systemTopicsClientUpdateResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/systemTopics/eventSubscriptions +func (testsuite *EventGridTestSuite) TestSystemTopicEventSubscriptions() { + var err error + // From step SystemTopicEventSubscriptions_CreateOrUpdate + systemTopicEventSubscriptionsClient, err := armeventgrid.NewSystemTopicEventSubscriptionsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + systemTopicEventSubscriptionsClientCreateOrUpdateResponsePoller, err := systemTopicEventSubscriptionsClient.BeginCreateOrUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, testsuite.eventSubscriptionName, armeventgrid.EventSubscription{ + Properties: &armeventgrid.EventSubscriptionProperties{ + Destination: &armeventgrid.EventHubEventSubscriptionDestination{ + EndpointType: to.Ptr(armeventgrid.EndpointTypeEventHub), + Properties: &armeventgrid.EventHubEventSubscriptionDestinationProperties{ + ResourceID: to.Ptr(testsuite.eventhubId), + }, + }, + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, systemTopicEventSubscriptionsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step SystemTopicEventSubscriptions_ListBySystemTopic + systemTopicEventSubscriptionsClientNewListBySystemTopicPager := systemTopicEventSubscriptionsClient.NewListBySystemTopicPager(testsuite.resourceGroupName, testsuite.systemTopicName, &armeventgrid.SystemTopicEventSubscriptionsClientListBySystemTopicOptions{Filter: nil, + Top: nil, + }) + for systemTopicEventSubscriptionsClientNewListBySystemTopicPager.More() { + _, err := systemTopicEventSubscriptionsClientNewListBySystemTopicPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step SystemTopicEventSubscriptions_Get + _, err = systemTopicEventSubscriptionsClient.Get(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step SystemTopicEventSubscriptions_Update + systemTopicEventSubscriptionsClientUpdateResponsePoller, err := systemTopicEventSubscriptionsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, testsuite.eventSubscriptionName, armeventgrid.EventSubscriptionUpdateParameters{ + Labels: []*string{ + to.Ptr("label1")}, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, systemTopicEventSubscriptionsClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step SystemTopicEventSubscriptions_GetDeliveryAttributes + _, err = systemTopicEventSubscriptionsClient.GetDeliveryAttributes(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step SystemTopicEventSubscriptions_Delete + systemTopicEventSubscriptionsClientDeleteResponsePoller, err := systemTopicEventSubscriptionsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, systemTopicEventSubscriptionsClientDeleteResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/eventSubscriptions +func (testsuite *EventGridTestSuite) TestEventSubscriptions() { + var err error + // From step EventSubscriptions_CreateOrUpdate + eventSubscriptionsClient, err := armeventgrid.NewEventSubscriptionsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + eventSubscriptionsClientCreateOrUpdateResponsePoller, err := eventSubscriptionsClient.BeginCreateOrUpdate(testsuite.ctx, "subscriptions/"+testsuite.subscriptionId, testsuite.eventSubscriptionName, armeventgrid.EventSubscription{ + Properties: &armeventgrid.EventSubscriptionProperties{ + Destination: &armeventgrid.EventHubEventSubscriptionDestination{ + EndpointType: to.Ptr(armeventgrid.EndpointTypeEventHub), + Properties: &armeventgrid.EventHubEventSubscriptionDestinationProperties{ + ResourceID: to.Ptr(testsuite.eventhubId), + }, + }, + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, eventSubscriptionsClientCreateOrUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step EventSubscriptions_ListGlobalBySubscription + eventSubscriptionsClientNewListGlobalBySubscriptionPager := eventSubscriptionsClient.NewListGlobalBySubscriptionPager(&armeventgrid.EventSubscriptionsClientListGlobalBySubscriptionOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListGlobalBySubscriptionPager.More() { + _, err := eventSubscriptionsClientNewListGlobalBySubscriptionPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_ListGlobalBySubscriptionForTopicType + eventSubscriptionsClientNewListGlobalBySubscriptionForTopicTypePager := eventSubscriptionsClient.NewListGlobalBySubscriptionForTopicTypePager("Microsoft.Resources.Subscriptions", &armeventgrid.EventSubscriptionsClientListGlobalBySubscriptionForTopicTypeOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListGlobalBySubscriptionForTopicTypePager.More() { + _, err := eventSubscriptionsClientNewListGlobalBySubscriptionForTopicTypePager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_ListGlobalByResourceGroup + eventSubscriptionsClientNewListGlobalByResourceGroupPager := eventSubscriptionsClient.NewListGlobalByResourceGroupPager(testsuite.resourceGroupName, &armeventgrid.EventSubscriptionsClientListGlobalByResourceGroupOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListGlobalByResourceGroupPager.More() { + _, err := eventSubscriptionsClientNewListGlobalByResourceGroupPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_ListRegionalByResourceGroup + eventSubscriptionsClientNewListRegionalByResourceGroupPager := eventSubscriptionsClient.NewListRegionalByResourceGroupPager(testsuite.resourceGroupName, testsuite.location, &armeventgrid.EventSubscriptionsClientListRegionalByResourceGroupOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListRegionalByResourceGroupPager.More() { + _, err := eventSubscriptionsClientNewListRegionalByResourceGroupPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_ListByDomainTopic + eventSubscriptionsClientNewListByDomainTopicPager := eventSubscriptionsClient.NewListByDomainTopicPager(testsuite.resourceGroupName, testsuite.domainName, testsuite.topicName, &armeventgrid.EventSubscriptionsClientListByDomainTopicOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListByDomainTopicPager.More() { + _, err := eventSubscriptionsClientNewListByDomainTopicPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_Get + _, err = eventSubscriptionsClient.Get(testsuite.ctx, "subscriptions/"+testsuite.subscriptionId, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step EventSubscriptions_ListRegionalBySubscription + eventSubscriptionsClientNewListRegionalBySubscriptionPager := eventSubscriptionsClient.NewListRegionalBySubscriptionPager(testsuite.location, &armeventgrid.EventSubscriptionsClientListRegionalBySubscriptionOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListRegionalBySubscriptionPager.More() { + _, err := eventSubscriptionsClientNewListRegionalBySubscriptionPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_ListRegionalBySubscriptionForTopicType + eventSubscriptionsClientNewListRegionalBySubscriptionForTopicTypePager := eventSubscriptionsClient.NewListRegionalBySubscriptionForTopicTypePager(testsuite.location, "Microsoft.EventHub.namespaces", &armeventgrid.EventSubscriptionsClientListRegionalBySubscriptionForTopicTypeOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListRegionalBySubscriptionForTopicTypePager.More() { + _, err := eventSubscriptionsClientNewListRegionalBySubscriptionForTopicTypePager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_ListRegionalByResourceGroupForTopicType + eventSubscriptionsClientNewListRegionalByResourceGroupForTopicTypePager := eventSubscriptionsClient.NewListRegionalByResourceGroupForTopicTypePager(testsuite.resourceGroupName, testsuite.location, "Microsoft.EventHub.namespaces", &armeventgrid.EventSubscriptionsClientListRegionalByResourceGroupForTopicTypeOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListRegionalByResourceGroupForTopicTypePager.More() { + _, err := eventSubscriptionsClientNewListRegionalByResourceGroupForTopicTypePager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_ListByResource + eventSubscriptionsClientNewListByResourcePager := eventSubscriptionsClient.NewListByResourcePager(testsuite.resourceGroupName, "Microsoft.EventGrid", "topics", testsuite.topicName, &armeventgrid.EventSubscriptionsClientListByResourceOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListByResourcePager.More() { + _, err := eventSubscriptionsClientNewListByResourcePager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_ListGlobalByResourceGroupForTopicType + eventSubscriptionsClientNewListGlobalByResourceGroupForTopicTypePager := eventSubscriptionsClient.NewListGlobalByResourceGroupForTopicTypePager(testsuite.resourceGroupName, "Microsoft.Resources.ResourceGroups", &armeventgrid.EventSubscriptionsClientListGlobalByResourceGroupForTopicTypeOptions{Filter: nil, + Top: nil, + }) + for eventSubscriptionsClientNewListGlobalByResourceGroupForTopicTypePager.More() { + _, err := eventSubscriptionsClientNewListGlobalByResourceGroupForTopicTypePager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step EventSubscriptions_Update + eventSubscriptionsClientUpdateResponsePoller, err := eventSubscriptionsClient.BeginUpdate(testsuite.ctx, "subscriptions/"+testsuite.subscriptionId, testsuite.eventSubscriptionName, armeventgrid.EventSubscriptionUpdateParameters{ + Labels: []*string{ + to.Ptr("label1")}, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, eventSubscriptionsClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step EventSubscriptions_GetDeliveryAttributes + _, err = eventSubscriptionsClient.GetDeliveryAttributes(testsuite.ctx, "subscriptions/"+testsuite.subscriptionId, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + + // From step EventSubscriptions_Delete + eventSubscriptionsClientDeleteResponsePoller, err := eventSubscriptionsClient.BeginDelete(testsuite.ctx, "subscriptions/"+testsuite.subscriptionId, testsuite.eventSubscriptionName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, eventSubscriptionsClientDeleteResponsePoller) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/operations +func (testsuite *EventGridTestSuite) TestOperations() { + var err error + // From step Operations_List + operationsClient, err := armeventgrid.NewOperationsClient(testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + operationsClientNewListPager := operationsClient.NewListPager(nil) + for operationsClientNewListPager.More() { + _, err := operationsClientNewListPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } +} + +// Microsoft.EventGrid/topicTypes +func (testsuite *EventGridTestSuite) TestTopicTypes() { + var err error + // From step TopicTypes_List + topicTypesClient, err := armeventgrid.NewTopicTypesClient(testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + topicTypesClientNewListPager := topicTypesClient.NewListPager(nil) + for topicTypesClientNewListPager.More() { + _, err := topicTypesClientNewListPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step TopicTypes_Get + _, err = topicTypesClient.Get(testsuite.ctx, "Microsoft.Storage.StorageAccounts", nil) + testsuite.Require().NoError(err) + + // From step TopicTypes_ListEventTypes + topicTypesClientNewListEventTypesPager := topicTypesClient.NewListEventTypesPager("Microsoft.Storage.StorageAccounts", nil) + for topicTypesClientNewListEventTypesPager.More() { + _, err := topicTypesClientNewListEventTypesPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } +} + +// Microsoft.EventGrid/verifiedPartners +func (testsuite *EventGridTestSuite) TestVerifiedPartners() { + var err error + // From step VerifiedPartners_List + verifiedPartnersClient, err := armeventgrid.NewVerifiedPartnersClient(testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + verifiedPartnersClientNewListPager := verifiedPartnersClient.NewListPager(&armeventgrid.VerifiedPartnersClientListOptions{Filter: nil, + Top: nil, + }) + for verifiedPartnersClientNewListPager.More() { + _, err := verifiedPartnersClientNewListPager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } + + // From step VerifiedPartners_Get + _, err = verifiedPartnersClient.Get(testsuite.ctx, "Auth0", nil) + testsuite.Require().NoError(err) +} + +// Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections +func (testsuite *EventGridTestSuite) TestPrivateEndpointConnections() { + parentName := testsuite.domainName + parentType := "domains" + var privateEndpointConnectionName string + var err error + // From step PrivateEndpoint_Create + template := map[string]interface{}{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": map[string]interface{}{ + "domainId": map[string]interface{}{ + "type": "string", + "defaultValue": testsuite.domainId, + }, + "privateEndpointName": map[string]interface{}{ + "type": "string", + "defaultValue": testsuite.privateEndpointName, + }, + "virtualNetworksName": map[string]interface{}{ + "type": "string", + "defaultValue": testsuite.virtualNetworksName, + }, + }, + "resources": []interface{}{ + map[string]interface{}{ + "name": "[parameters('virtualNetworksName')]", + "type": "Microsoft.Network/virtualNetworks", + "apiVersion": "2020-11-01", + "location": "eastus", + "properties": map[string]interface{}{ + "addressSpace": map[string]interface{}{ + "addressPrefixes": []interface{}{ + "10.0.0.0/16", + }, + }, + "enableDdosProtection": false, + "subnets": []interface{}{ + map[string]interface{}{ + "name": "default", + "properties": map[string]interface{}{ + "addressPrefix": "10.0.0.0/24", + "delegations": []interface{}{}, + "privateEndpointNetworkPolicies": "Disabled", + "privateLinkServiceNetworkPolicies": "Enabled", + }, + }, + }, + "virtualNetworkPeerings": []interface{}{}, + }, + }, + map[string]interface{}{ + "name": "[concat(parameters('privateEndpointName'), '-nic')]", + "type": "Microsoft.Network/networkInterfaces", + "apiVersion": "2020-11-01", + "dependsOn": []interface{}{ + "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworksName'), 'default')]", + }, + "location": "eastus", + "properties": map[string]interface{}{ + "dnsSettings": map[string]interface{}{ + "dnsServers": []interface{}{}, + }, + "enableIPForwarding": false, + "ipConfigurations": []interface{}{ + map[string]interface{}{ + "name": "privateEndpointIpConfig.ab24488f-044e-43f0-b9d1-af1f04071719", + "properties": map[string]interface{}{ + "primary": true, + "privateIPAddress": "10.0.0.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "subnet": map[string]interface{}{ + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworksName'), 'default')]", + }, + }, + }, + }, + }, + }, + map[string]interface{}{ + "name": "[concat(parameters('virtualNetworksName'), '/default')]", + "type": "Microsoft.Network/virtualNetworks/subnets", + "apiVersion": "2020-11-01", + "dependsOn": []interface{}{ + "[resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworksName'))]", + }, + "properties": map[string]interface{}{ + "addressPrefix": "10.0.0.0/24", + "delegations": []interface{}{}, + "privateEndpointNetworkPolicies": "Disabled", + "privateLinkServiceNetworkPolicies": "Enabled", + }, + }, + map[string]interface{}{ + "name": "[parameters('privateEndpointName')]", + "type": "Microsoft.Network/privateEndpoints", + "apiVersion": "2020-11-01", + "dependsOn": []interface{}{ + "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworksName'), 'default')]", + }, + "location": "eastus", + "properties": map[string]interface{}{ + "customDnsConfigs": []interface{}{}, + "manualPrivateLinkServiceConnections": []interface{}{}, + "privateLinkServiceConnections": []interface{}{ + map[string]interface{}{ + "name": "[parameters('privateEndpointName')]", + "properties": map[string]interface{}{ + "groupIds": []interface{}{ + "domain", + }, + "privateLinkServiceConnectionState": map[string]interface{}{ + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved", + }, + "privateLinkServiceId": "[parameters('domainId')]", + }, + }, + }, + "subnet": map[string]interface{}{ + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworksName'), 'default')]", + }, + }, + }, + }, + "variables": map[string]interface{}{}, + } + deployment := armresources.Deployment{ + Properties: &armresources.DeploymentProperties{ + Template: template, + Mode: to.Ptr(armresources.DeploymentModeIncremental), + }, + } + _, err = testutil.CreateDeployment(testsuite.ctx, testsuite.subscriptionId, testsuite.cred, testsuite.options, testsuite.resourceGroupName, "PrivateEndpoint_Create", &deployment) + testsuite.Require().NoError(err) + + // From step PrivateEndpointConnections_ListByResource + privateEndpointConnectionsClient, err := armeventgrid.NewPrivateEndpointConnectionsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + privateEndpointConnectionsClientNewListByResourcePager := privateEndpointConnectionsClient.NewListByResourcePager(testsuite.resourceGroupName, armeventgrid.PrivateEndpointConnectionsParentType(parentType), parentName, &armeventgrid.PrivateEndpointConnectionsClientListByResourceOptions{Filter: nil, + Top: nil, + }) + for privateEndpointConnectionsClientNewListByResourcePager.More() { + nextResult, err := privateEndpointConnectionsClientNewListByResourcePager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + + privateEndpointConnectionName = *nextResult.Value[0].Name + break + } + + // From step PrivateEndpointConnections_Update + privateEndpointConnectionsClientUpdateResponsePoller, err := privateEndpointConnectionsClient.BeginUpdate(testsuite.ctx, testsuite.resourceGroupName, armeventgrid.PrivateEndpointConnectionsParentType(parentType), parentName, privateEndpointConnectionName, armeventgrid.PrivateEndpointConnection{ + Properties: &armeventgrid.PrivateEndpointConnectionProperties{ + PrivateLinkServiceConnectionState: &armeventgrid.ConnectionState{ + Description: to.Ptr("approving connection"), + ActionsRequired: to.Ptr("None"), + Status: to.Ptr(armeventgrid.PersistedConnectionStatusRejected), + }, + }, + }, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, privateEndpointConnectionsClientUpdateResponsePoller) + testsuite.Require().NoError(err) + + // From step PrivateEndpointConnections_Get + _, err = privateEndpointConnectionsClient.Get(testsuite.ctx, testsuite.resourceGroupName, armeventgrid.PrivateEndpointConnectionsParentType(parentType), parentName, privateEndpointConnectionName, nil) + testsuite.Require().NoError(err) + + // From step PrivateLinkResources_ListByResource + privateLinkResourcesClient, err := armeventgrid.NewPrivateLinkResourcesClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + privateLinkResourcesClientNewListByResourcePager := privateLinkResourcesClient.NewListByResourcePager(testsuite.resourceGroupName, parentType, parentName, &armeventgrid.PrivateLinkResourcesClientListByResourceOptions{Filter: nil, + Top: nil, + }) + for privateLinkResourcesClientNewListByResourcePager.More() { + _, err := privateLinkResourcesClientNewListByResourcePager.NextPage(testsuite.ctx) + testsuite.Require().NoError(err) + break + } +} + +func (testsuite *EventGridTestSuite) Cleanup() { + var err error + // From step SystemTopics_Delete + systemTopicsClient, err := armeventgrid.NewSystemTopicsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + systemTopicsClientDeleteResponsePoller, err := systemTopicsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.systemTopicName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, systemTopicsClientDeleteResponsePoller) + testsuite.Require().NoError(err) + + // From step PartnerRegistrations_Delete + partnerRegistrationsClient, err := armeventgrid.NewPartnerRegistrationsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + partnerRegistrationsClientDeleteResponsePoller, err := partnerRegistrationsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.partnerRegistrationName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, partnerRegistrationsClientDeleteResponsePoller) + testsuite.Require().NoError(err) + + // From step Topics_Delete + topicsClient, err := armeventgrid.NewTopicsClient(testsuite.subscriptionId, testsuite.cred, testsuite.options) + testsuite.Require().NoError(err) + topicsClientDeleteResponsePoller, err := topicsClient.BeginDelete(testsuite.ctx, testsuite.resourceGroupName, testsuite.topicName, nil) + testsuite.Require().NoError(err) + _, err = testutil.PollForTest(testsuite.ctx, topicsClientDeleteResponsePoller) + testsuite.Require().NoError(err) +} diff --git a/sdk/resourcemanager/eventgrid/armeventgrid/go.mod b/sdk/resourcemanager/eventgrid/armeventgrid/go.mod index 99b04c4fa874..2c2938b94ea8 100644 --- a/sdk/resourcemanager/eventgrid/armeventgrid/go.mod +++ b/sdk/resourcemanager/eventgrid/armeventgrid/go.mod @@ -3,19 +3,27 @@ module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventgrid/armeventg go 1.18 require ( - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0 + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 + github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.1.1 + github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0 + github.com/stretchr/testify v1.7.0 ) require ( github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/dnaeon/go-vcr v1.1.0 // indirect github.com/golang-jwt/jwt v3.2.1+incompatible // indirect github.com/google/uuid v1.1.1 // indirect github.com/kylelemons/godebug v1.1.0 // indirect github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88 // indirect golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 // indirect golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect golang.org/x/text v0.3.7 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect ) diff --git a/sdk/resourcemanager/eventgrid/armeventgrid/go.sum b/sdk/resourcemanager/eventgrid/armeventgrid/go.sum index 8828b17b1853..1b67d30343d7 100644 --- a/sdk/resourcemanager/eventgrid/armeventgrid/go.sum +++ b/sdk/resourcemanager/eventgrid/armeventgrid/go.sum @@ -1,13 +1,20 @@ -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0 h1:sVPhtT2qjO86rTUaWMr4WoES4TkjGnzcioXcnHV9s5k= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.0 h1:Ut0ZGdOwJDw0npYEg+TLlPls3Pq6JiZaP2/aGKir7Zw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 h1:QkAcEIAKbNL4KoFr4SathZPhDhF4mVwpBMFlYjyAqy8= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0/go.mod h1:bhXu1AjYL+wutSL/kpSq6s7733q2Rb0yuot9Zgfqa/0= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.1.1 h1:BZOe7ExNYNGmapT91ZUrxtMYsqVljMxTHEnwjOdG7pk= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.1.1/go.mod h1:TSPEzbGHEgqFa3kUn09SpCrfKNbj7+mMulU/72Vg84E= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0 h1:ECsQtyERDVz3NP3kvDOTLvbQhqWp/x9EsGKtb4ogUr8= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0/go.mod h1:s1tW/At+xHqjNFvWU4G0c0Qv33KOhvbGNj0RCTQDV8s= github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 h1:BWe8a+f/t+7KY7zH2mqygeUD0t8hNFXe08p1Pb3/jKE= github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU= @@ -15,11 +22,15 @@ github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88 h1:Tgea0cVUD0ivh5ADBX4WwuI12DUd2to3nCYe2eayMIw= golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 h1:HVyaeDAYux4pnY+D/SiwmLOR36ewZ4iGQIIrtnuCjFA= @@ -29,5 +40,11 @@ golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e h1:fLOSk5Q00efkSvAm+4xcoXD+R golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/sdk/resourcemanager/eventgrid/armeventgrid/testdata/recordings/TestEventGridTestSuite.json b/sdk/resourcemanager/eventgrid/armeventgrid/testdata/recordings/TestEventGridTestSuite.json new file mode 100644 index 000000000000..9126a4af17bc --- /dev/null +++ b/sdk/resourcemanager/eventgrid/armeventgrid/testdata/recordings/TestEventGridTestSuite.json @@ -0,0 +1,12008 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "21", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:25:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062539Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg", + "name": "go-sdk-test-rg", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "212", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "location": "eastus", + "properties": { + "inboundIpRules": [ + { + "action": "Allow", + "ipMask": "12.18.30.15" + }, + { + "action": "Allow", + "ipMask": "12.18.176.1" + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/77C5D458-81C7-4FF7-A962-84EFB8ADD8EB?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "484", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:25:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062545Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Creating", + "endpoint": null, + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ] + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9", + "name": "domainnameWkloZ9", + "type": "Microsoft.EventGrid/domains" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/77C5D458-81C7-4FF7-A962-84EFB8ADD8EB?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:25:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062555Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/77C5D458-81C7-4FF7-A962-84EFB8ADD8EB?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:25:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062556Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://domainnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9", + "name": "domainnameWkloZ9", + "type": "Microsoft.EventGrid/domains" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "212", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "location": "eastus", + "properties": { + "inboundIpRules": [ + { + "action": "Allow", + "ipMask": "12.18.30.15" + }, + { + "action": "Allow", + "ipMask": "12.18.176.1" + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/C4346402-D317-44B5-B434-623AC19F5F95?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "480", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:26:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062601Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Creating", + "endpoint": null, + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ] + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9", + "name": "topicnameWkloZ9", + "type": "Microsoft.EventGrid/topics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/C4346402-D317-44B5-B434-623AC19F5F95?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:26:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062611Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/C4346402-D317-44B5-B434-623AC19F5F95?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:26:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062612Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://topicnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9", + "name": "topicnameWkloZ9", + "type": "Microsoft.EventGrid/topics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "21", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "location": "global" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:26:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062615Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "name": "partnerregWkloZ9", + "type": "Microsoft.EventGrid/partnerRegistrations" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "147", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "location": "global", + "properties": { + "source": "/subscriptions/00000000-0000-0000-0000-000000000000", + "topicType": "Microsoft.Resources.Subscriptions" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:26:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062619Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000", + "topicType": "Microsoft.Resources.Subscriptions", + "metricResourceId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "name": "systemtopiWkloZ9", + "type": "Microsoft.EventGrid/systemTopics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "1244", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "outputs": { + "eventhubId": { + "type": "string", + "value": "[resourceId(\u0027Microsoft.EventHub/namespaces/eventhubs\u0027, parameters(\u0027namespaceName\u0027), \u0027eventhubs\u0027)]" + } + }, + "parameters": { + "location": { + "defaultValue": "eastus", + "type": "string" + }, + "namespaceName": { + "defaultValue": "eventhubnaWkloZ9", + "type": "string" + } + }, + "resources": [ + { + "apiVersion": "2022-01-01-preview", + "location": "[parameters(\u0027location\u0027)]", + "name": "[parameters(\u0027namespaceName\u0027)]", + "properties": { + "disableLocalAuth": false, + "isAutoInflateEnabled": false, + "kafkaEnabled": true, + "maximumThroughputUnits": 0, + "minimumTlsVersion": "1.0", + "publicNetworkAccess": "Enabled", + "zoneRedundant": false + }, + "sku": { + "capacity": 1, + "name": "Standard", + "tier": "Standard" + }, + "type": "Microsoft.EventHub/namespaces" + }, + { + "apiVersion": "2022-01-01-preview", + "dependsOn": [ + "[resourceId(\u0027Microsoft.EventHub/namespaces\u0027, parameters(\u0027namespaceName\u0027))]" + ], + "location": "[parameters(\u0027location\u0027)]", + "name": "[concat(parameters(\u0027namespaceName\u0027), \u0027/eventhubs\u0027)]", + "properties": { + "messageRetentionInDays": 1, + "partitionCount": 1, + "status": "Active" + }, + "type": "Microsoft.EventHub/namespaces/eventhubs" + } + ], + "variables": {} + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create/operationStatuses/08585344093038279100?api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "1276", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:26:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062623Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create", + "name": "Eventhub_Create", + "type": "Microsoft.Resources/deployments", + "properties": { + "templateHash": "4946837728391987508", + "parameters": { + "location": { + "type": "String", + "value": "eastus" + }, + "namespaceName": { + "type": "String", + "value": "eventhubnaWkloZ9" + } + }, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2022-10-31T06:26:22.5195644Z", + "duration": "PT0.0002098S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.EventHub", + "resourceTypes": [ + { + "resourceType": "namespaces", + "locations": [ + "eastus" + ] + }, + { + "resourceType": "namespaces/eventhubs", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9", + "resourceType": "Microsoft.EventHub/namespaces", + "resourceName": "eventhubnaWkloZ9" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs", + "resourceType": "Microsoft.EventHub/namespaces/eventhubs", + "resourceName": "eventhubnaWkloZ9/eventhubs" + } + ] + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create/operationStatuses/08585344093038279100?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "20", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:26:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062624Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create/operationStatuses/08585344093038279100?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "20", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:26:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062654Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create/operationStatuses/08585344093038279100?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "20", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:27:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062725Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create/operationStatuses/08585344093038279100?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "22", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:27:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062756Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "1825", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:27:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062756Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/Eventhub_Create", + "name": "Eventhub_Create", + "type": "Microsoft.Resources/deployments", + "properties": { + "templateHash": "4946837728391987508", + "parameters": { + "location": { + "type": "String", + "value": "eastus" + }, + "namespaceName": { + "type": "String", + "value": "eventhubnaWkloZ9" + } + }, + "mode": "Incremental", + "provisioningState": "Succeeded", + "timestamp": "2022-10-31T06:27:27.38593Z", + "duration": "PT1M4.8665754S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.EventHub", + "resourceTypes": [ + { + "resourceType": "namespaces", + "locations": [ + "eastus" + ] + }, + { + "resourceType": "namespaces/eventhubs", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9", + "resourceType": "Microsoft.EventHub/namespaces", + "resourceName": "eventhubnaWkloZ9" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs", + "resourceType": "Microsoft.EventHub/namespaces/eventhubs", + "resourceName": "eventhubnaWkloZ9/eventhubs" + } + ], + "outputs": { + "eventhubId": { + "type": "String", + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + } + }, + "outputResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + } + ] + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "247", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "destination": { + "endpointType": "EventHub", + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + } + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/403E2B46-C88D-488E-A981-324E68E62BB4?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "847", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062801Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9", + "provisioningState": "Creating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/403E2B46-C88D-488E-A981-324E68E62BB4?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062811Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/403E2B46-C88D-488E-A981-324E68E62BB4?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062812Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062812Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/eventSubscriptions" + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions?api-version=2022-06-15\u0026$skiptoken=%5b%7b%22token%22%3anull%2c%22range%22%3a%7b%22min%22%3a%2205C1DF6B5557E0%22%2c%22max%22%3a%22FF%22%7d%7d%5d\u0026$top=20" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062813Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "21", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "labels": [ + "label1" + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/1FCED470-9C1D-4DEC-BAF4-BC91F2C14DDB?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "893", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062814Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9", + "provisioningState": "Updating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": [ + "label1" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/1FCED470-9C1D-4DEC-BAF4-BC91F2C14DDB?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062825Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/1FCED470-9C1D-4DEC-BAF4-BC91F2C14DDB?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062826Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": [ + "label1" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9/getDeliveryAttributes?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062826Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": null + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/D7894936-01C9-4F59-BDD4-A2E41679B547?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:28:27 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationResults/D7894936-01C9-4F59-BDD4-A2E41679B547?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062828Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/D7894936-01C9-4F59-BDD4-A2E41679B547?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062838Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/D7894936-01C9-4F59-BDD4-A2E41679B547?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/domaintopiWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/F294AA42-D109-4AEB-B158-829A4D927C07?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062840Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Creating" + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/domaintopiWkloZ9", + "name": "domaintopiWkloZ9", + "type": "Microsoft.EventGrid/domains/topics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/F294AA42-D109-4AEB-B158-829A4D927C07?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062851Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/F294AA42-D109-4AEB-B158-829A4D927C07?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/domaintopiWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-resource-requests": "899", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062851Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded" + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/domaintopiWkloZ9", + "name": "domaintopiWkloZ9", + "type": "Microsoft.EventGrid/domains/topics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-resource-requests": "898", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062852Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded" + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/domaintopiWkloZ9", + "name": "domaintopiWkloZ9", + "type": "Microsoft.EventGrid/domains/topics" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/domaintopiWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-resource-requests": "897", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062853Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded" + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/domaintopiWkloZ9", + "name": "domaintopiWkloZ9", + "type": "Microsoft.EventGrid/domains/topics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "247", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "destination": { + "endpointType": "EventHub", + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + } + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/4B6D3936-E041-48D7-9F1C-DC1BA78CBA8D?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "900", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:28:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062855Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9/topics/topicnamewkloz9", + "provisioningState": "Creating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/topics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/4B6D3936-E041-48D7-9F1C-DC1BA78CBA8D?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062905Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/4B6D3936-E041-48D7-9F1C-DC1BA78CBA8D?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062906Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9/topics/topicnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/topics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062907Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9/topics/topicnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/topics/eventSubscriptions" + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions?api-version=2022-06-15\u0026$skiptoken=%5b%7b%22token%22%3anull%2c%22range%22%3a%7b%22min%22%3a%2205C1DF6B5557E0%22%2c%22max%22%3a%22FF%22%7d%7d%5d\u0026$top=20" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062907Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/domains/domainnamewkloz9/topics/topicnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/domains/topics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9/getDeliveryAttributes?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062908Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": null + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/B593231E-D334-4CA2-B255-F5CC4B71B8E9?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:29:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationResults/B593231E-D334-4CA2-B255-F5CC4B71B8E9?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062910Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/B593231E-D334-4CA2-B255-F5CC4B71B8E9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062920Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/B593231E-D334-4CA2-B255-F5CC4B71B8E9?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/domaintopiWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/2F6DBC2E-E061-48F6-933A-53A7FE2F7B30?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:29:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationResults/2F6DBC2E-E061-48F6-933A-53A7FE2F7B30?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14997", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062922Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/2F6DBC2E-E061-48F6-933A-53A7FE2F7B30?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062932Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/2F6DBC2E-E061-48F6-933A-53A7FE2F7B30?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/domains?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "10735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-original-request-ids": [ + "00000000-0000-0000-0000-000000000000", + "76eecbff-b030-4f1f-98d2-dd69c07d29a1" + ], + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062934Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://domainnamewp9lef.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnamewp9LeF", + "name": "domainnamewp9LeF", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointI6s62c" + }, + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameI6s62c/privateEndpointConnections/eventgridprivateendpointI6s62c.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpointI6s62c.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://domainnamei6s62c.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameI6s62c", + "name": "domainnameI6s62c", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointMItg62" + }, + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "status": "Rejected", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameMItg62/privateEndpointConnections/eventgridprivateendpointMItg62.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpointMItg62.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://domainnamemitg62.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameMItg62", + "name": "domainnameMItg62", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "endpoint": "https://domainnamean9x0u.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameAn9x0U", + "name": "domainnameAn9x0U", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpoint2J1nvm" + }, + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainname2J1nvm/privateEndpointConnections/eventgridprivateendpoint2J1nvm.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpoint2J1nvm.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://domainname2j1nvm.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainname2J1nvm", + "name": "domainname2J1nvm", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointuRtLFd" + }, + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "status": "Rejected", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameuRtLFd/privateEndpointConnections/eventgridprivateendpointuRtLFd.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpointuRtLFd.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://domainnameurtlfd.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameuRtLFd", + "name": "domainnameuRtLFd", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointJ7utNb" + }, + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "status": "Rejected", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameKZchvQ/privateEndpointConnections/eventgridprivateendpointJ7utNb.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpointJ7utNb.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://domainnamekzchvq.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameKZchvQ", + "name": "domainnameKZchvQ", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://domainnamero3qkg.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnamero3qkG", + "name": "domainnamero3qkG", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://domainnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9", + "name": "domainnameWkloZ9", + "type": "Microsoft.EventGrid/domains" + }, + { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://gotestdomain.westus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [], + "disableLocalAuth": false, + "dataResidencyBoundary": "WithinGeopair" + }, + "identity": { + "type": "None", + "principalId": null, + "tenantId": null, + "userAssignedIdentities": null + }, + "systemData": null, + "location": "westus", + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-test/providers/Microsoft.EventGrid/domains/gotestdomain", + "name": "gotestdomain", + "type": "Microsoft.EventGrid/domains" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062934Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://domainnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9", + "name": "domainnameWkloZ9", + "type": "Microsoft.EventGrid/domains" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062935Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://domainnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9", + "name": "domainnameWkloZ9", + "type": "Microsoft.EventGrid/domains" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "192", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "inboundIpRules": [ + { + "action": "Allow", + "ipMask": "12.18.30.15" + }, + { + "action": "Allow", + "ipMask": "12.18.176.1" + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/D1EF9C1F-3F23-4C1B-ACA8-11F18B01DCB3?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "676", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062939Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Updating", + "endpoint": "https://domainnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9", + "name": "domainnameWkloZ9", + "type": "Microsoft.EventGrid/domains" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/D1EF9C1F-3F23-4C1B-ACA8-11F18B01DCB3?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062949Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/D1EF9C1F-3F23-4C1B-ACA8-11F18B01DCB3?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062950Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://domainnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9", + "name": "domainnameWkloZ9", + "type": "Microsoft.EventGrid/domains" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/listKeys?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062951Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "key1": "000000000000", + "key2": "000000000000" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/regenerateKey?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "keyName": "key1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062952Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "key1": "000000000000", + "key2": "000000000000" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "247", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "destination": { + "endpointType": "EventHub", + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + } + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/E6822F44-4F8B-4B14-8593-F7E88894AE59?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "1112", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:29:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-resource-requests": "899", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T062954Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Creating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/E6822F44-4F8B-4B14-8593-F7E88894AE59?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063004Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/E6822F44-4F8B-4B14-8593-F7E88894AE59?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063005Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063005Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_eventgrid_test_eventgrid31ec0fa8", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "endpointUrl": null, + "endpointBaseUrl": "https://cjfpython.azurewebsites.net/api/updates", + "maxEventsPerBatch": 1, + "preferredBatchSizeInKilobytes": 64 + }, + "endpointType": "WebHook" + }, + "filter": { + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_eventgrid_test_eventgrid31ec0fa8/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_eventgrid_test_eventgrid31ec0fa8", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "endpointUrl": null, + "endpointBaseUrl": "https://cjfpython2.azurewebsites.net/api/updates", + "maxEventsPerBatch": 1, + "preferredBatchSizeInKilobytes": 64 + }, + "endpointType": "WebHook" + }, + "filter": { + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_eventgrid_test_eventgrid31ec0fa8/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions?api-version=2022-06-15\u0026$skiptoken=%5b%7b%22token%22%3anull%2c%22range%22%3a%7b%22min%22%3a%2205C1E0%22%2c%22max%22%3a%22FF%22%7d%7d%5d\u0026$top=20" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/topicTypes/Microsoft.Resources.Subscriptions/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063005Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/topicTypes/Microsoft.Resources.Subscriptions/eventSubscriptions?api-version=2022-06-15\u0026$skiptoken=%5b%7b%22token%22%3anull%2c%22range%22%3a%7b%22min%22%3a%2205C1E0%22%2c%22max%22%3a%22FF%22%7d%7d%5d\u0026$top=20" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063006Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/locations/eastus/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11965", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063006Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/topics/topicnameWkloZ9/providers/Microsoft.EventGrid/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11964", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063007Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11963", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063007Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11962", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063008Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/topicTypes/Microsoft.EventHub.namespaces/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11961", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063008Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/locations/eastus/topicTypes/Microsoft.EventHub.namespaces/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11960", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063008Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/providers/Microsoft.EventGrid/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11959", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063009Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topicTypes/Microsoft.Resources.ResourceGroups/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11958", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063010Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "21", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "labels": [ + "label1" + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/69FA2561-C980-4CC0-8E63-92E61C40232C?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "1158", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-resource-requests": "898", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063010Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Updating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": [ + "label1" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/69FA2561-C980-4CC0-8E63-92E61C40232C?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11957", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063021Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/69FA2561-C980-4CC0-8E63-92E61C40232C?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11956", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063021Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": [ + "label1" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9/getDeliveryAttributes?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063021Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": null + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/310D403A-0F00-43E0-9312-0556A90BEB6B?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:30:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationResults/310D403A-0F00-43E0-9312-0556A90BEB6B?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14996", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063023Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/310D403A-0F00-43E0-9312-0556A90BEB6B?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11955", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063034Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/310D403A-0F00-43E0-9312-0556A90BEB6B?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.EventGrid/operations?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-tenant-reads": "11999", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063034Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "name": "Microsoft.EventGrid/register/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "EventGrid Resource Provider", + "operation": "Registers EventGrid Resource Provider", + "description": "Registers the subscription for the EventGrid resource provider." + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/unregister/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "EventGrid Resource Provider", + "operation": "Unregisters EventGrid Resource Provider", + "description": "Unregisters the subscription for the EventGrid resource provider." + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/operations/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "EventGrid Resource Provider", + "operation": "List EventGrid Operations", + "description": "List EventGrid operations." + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/extensionTopics/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "extensionTopics", + "operation": "Read ExtensionTopic", + "description": "Read an extensionTopic." + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topictypes/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topictypes", + "operation": "Read TopicType", + "description": "Read a topictype" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topictypes/eventtypes/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventtypes", + "operation": "Read EventTypes Of TopicType", + "description": "Read eventtypes supported by a topictype" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/operationResults/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "operationResults", + "operation": "Read Global OperationResult", + "description": "Read the result of an operation" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/locations/operationResults/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Regional OperationResults", + "operation": "Read Regional OperationResult", + "description": "Read the result of a regional operation" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/operationsStatus/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "operationsStatus", + "operation": "Read Global OperationsStatus", + "description": "Read the status of an operation" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/locations/operationsStatus/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Regional OperationsStatus", + "operation": "Read Regional OperationsStatus", + "description": "Read the status of a regional operation" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Write EventSubscription", + "description": "Create or update a eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Read EventSubscription", + "description": "Read a eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topictypes/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "List global event subscriptions by topic type", + "description": "List global event subscriptions by topic type" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/locations/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "List regional event subscriptions", + "description": "List regional event subscriptions" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/locations/topictypes/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "List regional event subscriptions by topictype", + "description": "List regional event subscriptions by topictype" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Delete EventSubscription", + "description": "Delete a eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/getFullUrl/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get FullUrl of EventSubscription", + "description": "Get full url for the event subscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "domains", + "operation": "Write Domain", + "description": "Create or update a domain" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "domains", + "operation": "Read Domain", + "description": "Read a domain" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "domains", + "operation": "Delete Domain", + "description": "Delete a domain" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/listKeys/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "domains", + "operation": "List Domain Keys", + "description": "List keys for a domain" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/regenerateKey/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "domains", + "operation": "Regenerate Domain Key", + "description": "Regenerate key for a domain" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/topics/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "domaintopics", + "operation": "Read Domain Topic", + "description": "Read a domain topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/topics/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "domaintopics", + "operation": "Write Domain Topic", + "description": "Create or update a domain topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/topics/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "domaintopics", + "operation": "Delete Domain Topic", + "description": "Delete a domain topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Domains Metrics", + "operation": "Read domains metric definitions", + "description": "Gets the available metrics for domains" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "PublishSuccessCount", + "displayName": "Published Events", + "displayDescription": "Total events published to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + } + ] + }, + { + "name": "PublishFailCount", + "displayName": "Publish Failed Events", + "displayDescription": "Total events failed to publish to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + }, + { + "name": "ErrorType" + }, + { + "name": "Error" + } + ] + }, + { + "name": "PublishSuccessLatencyInMs", + "displayName": "Publish Success Latency", + "displayDescription": "Publish success latency in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessLatencyInMs", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "AdvancedFilterEvaluationCount", + "displayName": "Advanced Filter Evaluations", + "displayDescription": "Total advanced filters evaluated across event subscriptions for this topic.", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "AdvancedFilterEvaluationCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + }, + { + "name": "EventSubscriptionName" + }, + { + "name": "DomainEventSubscriptionName" + } + ] + }, + { + "name": "MatchedEventCount", + "displayName": "Matched Events", + "displayDescription": "Total events matched to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "MatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + }, + { + "name": "EventSubscriptionName" + }, + { + "name": "DomainEventSubscriptionName" + } + ] + }, + { + "name": "DeliveryAttemptFailCount", + "displayName": "Delivery Failed Events", + "displayDescription": "Total events failed to deliver to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliveryFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + }, + { + "name": "EventSubscriptionName" + }, + { + "name": "DomainEventSubscriptionName" + }, + { + "name": "Error" + }, + { + "name": "ErrorType" + } + ] + }, + { + "name": "DeliverySuccessCount", + "displayName": "Delivered Events", + "displayDescription": "Total events delivered to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliverySuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + }, + { + "name": "EventSubscriptionName" + }, + { + "name": "DomainEventSubscriptionName" + } + ] + }, + { + "name": "DestinationProcessingDurationInMs", + "displayName": "Destination Processing Duration", + "displayDescription": "Destination processing duration in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Average", + "internalMetricName": "DestinationProcessingDelay", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + }, + { + "name": "EventSubscriptionName" + }, + { + "name": "DomainEventSubscriptionName" + } + ] + }, + { + "name": "DroppedEventCount", + "displayName": "Dropped Events", + "displayDescription": "Total dropped events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DroppedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + }, + { + "name": "EventSubscriptionName" + }, + { + "name": "DomainEventSubscriptionName" + }, + { + "name": "DropReason" + } + ] + }, + { + "name": "DeadLetteredCount", + "displayName": "Dead Lettered Events", + "displayDescription": "Total dead lettered events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeadLetteredCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Topic", + "internalName": "SubResourceId" + }, + { + "name": "EventSubscriptionName" + }, + { + "name": "DomainEventSubscriptionName" + }, + { + "name": "DeadLetterReason" + } + ] + } + ], + "logSpecifications": null + } + } + }, + { + "name": "Microsoft.EventGrid/partnerRegistrations/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerRegistrations", + "operation": "Write PartnerRegistration", + "description": "Create or update a partner registration" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerRegistrations/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerRegistrations", + "operation": "Read PartnerRegistration", + "description": "Read a partner registration" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerRegistrations/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerRegistrations", + "operation": "Delete PartnerRegistration", + "description": "Delete a partner registration" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerNamespaces", + "operation": "Write PartnerNamespace", + "description": "Create or update a partner namespace" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerNamespaces", + "operation": "Read PartnerNamespace", + "description": "Read a partner namespace" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerNamespaces", + "operation": "Delete PartnerNamespace", + "description": "Delete a partner namespace" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/listKeys/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerNamespaces", + "operation": "List PartnerNamespace keys", + "description": "List keys for a partner namespace" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/regenerateKey/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerNamespaces", + "operation": "Regenerate PartnerNamespace key", + "description": "Regenerate key for a partner namespace" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/eventChannels/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventChannels", + "operation": "Read EventChannel", + "description": "Read an event channel" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/eventChannels/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventChannels", + "operation": "Write EventChannel", + "description": "Create or update an event channel" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/eventChannels/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventChannels", + "operation": "Delete EventChannel", + "description": "Delete an event channel" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/eventChannels/channelReadinessStateChange/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventChannels", + "operation": "Change EventChannel state", + "description": "Change event channel readiness state" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/eventChannels/SetEventChannelToIdle", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventChannels", + "operation": "Set provisioning status of EventChannel to idle", + "description": "Set provisioning status of event channel to idle" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerTopics", + "operation": "Read PartnerTopic", + "description": "Read a partner topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerTopics", + "operation": "Write PartnerTopic", + "description": "Create or update a partner topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerTopics", + "operation": "Delete PartnerTopic", + "description": "Delete a partner topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/setToIdleState", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerTopics", + "operation": "Set provisioning status of PartnerTopic to idle", + "description": "Set provisioning status of partner topic to idle" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/reLinkPartnerTopic", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerTopics", + "operation": "Re-link a PartnerTopic to a newly created channel", + "description": "Re-link an idle PartnerTopic to a newly created channel" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/activate/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerTopics", + "operation": "Activate PartnerTopic", + "description": "Activate a partner topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/deactivate/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerTopics", + "operation": "Deactivate PartnerTopic", + "description": "Deactivate a partner topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/eventSubscriptions/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Write PartnerTopic EventSubscription", + "description": "Create or update a PartnerTopic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Read PartnerTopic EventSubscription", + "description": "Read a partner topic event subscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/eventSubscriptions/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Delete PartnerTopic EventSubscription", + "description": "Delete a partner topic event subscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/eventSubscriptions/getFullUrl/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get FullUrl of PartnerTopic EventSubscription", + "description": "Get full url for the partner topic event subscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/channels/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "channels", + "operation": "Read Channel", + "description": "Read a channel" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/channels/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "channels", + "operation": "Write Channel", + "description": "Create or update a channel" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/channels/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "channels", + "operation": "Delete Channel", + "description": "Delete a channel" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/channels/channelReadinessStateChange/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "channels", + "operation": "Change Channel state", + "description": "Change channel readiness state" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/channels/getFullUrl/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "channels", + "operation": "Get FullUrl of PartnerDestination Channel", + "description": "Get full url for the partner destination channel" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/channels/SetChannelToIdle", + "display": { + "provider": "Microsoft Event Grid", + "resource": "channels", + "operation": "Set provisioning status of Channel to idle", + "description": "Set provisioning status of channel to idle" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerDestinations/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerDestinations", + "operation": "Read PartnerDestination", + "description": "Read a partner destination" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerDestinations/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerDestinations", + "operation": "Write PartnerDestination", + "description": "Create or update a partner destination" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerDestinations/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerDestinations", + "operation": "Delete PartnerDestination", + "description": "Delete a partner destination" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerDestinations/activate/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerDestinations", + "operation": "Activate PartnerDestination", + "description": "Activate a partner destination" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerDestinations/getPartnerDestinationChannelInfo/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerDestinations", + "operation": "Get Channel details of activated PartnerDestination", + "description": "Get channel details of activated partner destination" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerConfigurations/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerConfigurations", + "operation": "Read PartnerConfiguration", + "description": "Read a partner configuration" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerConfigurations/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerConfigurations", + "operation": "Write PartnerConfiguration", + "description": "Create or update a partner configuration" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerConfigurations/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerConfigurations", + "operation": "Delete PartnerConfiguration", + "description": "Delete a partner configuration" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerConfigurations/authorizePartner/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerConfigurations", + "operation": "Authorize Partner", + "description": "Authorize a partner in the partner configuration" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerConfigurations/unauthorizePartner/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerConfigurations", + "operation": "Unauthorize Partner", + "description": "Unauthorize a partner in the partner configuration" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/verifiedPartners/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "verifiedPartners", + "operation": "Read VerifiedPartner", + "description": "Read a verified partner" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/eventSubscriptions/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Write SystemTopic EventSubscription", + "description": "Create or update a SystemTopic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Read SystemTopic EventSubscription", + "description": "Read a SystemTopic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/eventSubscriptions/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Delete SystemTopic EventSubscription", + "description": "Delete a SystemTopic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/eventSubscriptions/getFullUrl/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get FullUrl of SystemTopic EventSubscription", + "description": "Get full url for the SystemTopic event subscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/eventSubscriptions/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Write Topic EventSubscription", + "description": "Create or update a Topic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Read Topic EventSubscription", + "description": "Read a Topic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/eventSubscriptions/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Delete Topic EventSubscription", + "description": "Delete a Topic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/eventSubscriptions/getFullUrl/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get FullUrl of Topic EventSubscription", + "description": "Get full url for the Topic event subscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/eventSubscriptions/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Write Domain EventSubscription", + "description": "Create or update a Domain eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Read Domain EventSubscription", + "description": "Read a Domain eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/eventSubscriptions/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Delete Domain EventSubscription", + "description": "Delete a Domain eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/eventSubscriptions/getFullUrl/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get FullUrl of Domain EventSubscription", + "description": "Get full url for the Domain event subscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/topics/eventSubscriptions/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Write DomainTopic EventSubscription", + "description": "Create or update a DomainTopic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/topics/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Read DomainTopic EventSubscription", + "description": "Read a DomainTopic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/topics/eventSubscriptions/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Delete DomainTopic EventSubscription", + "description": "Delete a DomainTopic eventSubscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/topics/eventSubscriptions/getFullUrl/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get FullUrl of DomainTopic EventSubscription", + "description": "Get full url for the DomainTopic event subscription" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Write Topic", + "description": "Create or update a topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Read Topic", + "description": "Read a topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Delete Topic", + "description": "Delete a topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/listKeys/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "List Topic Keys", + "description": "List keys for a topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/regenerateKey/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Regenerate Topic Key", + "description": "Regenerate key for a topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "systemTopics", + "operation": "Read System Topic", + "description": "Read a system topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "systemTopics", + "operation": "Write System Topic", + "description": "Create or update a system topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "systemTopics", + "operation": "Delete System Topic", + "description": "Delete a system topic" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Topics Metrics", + "operation": "Read topic metric definitions", + "description": "Gets the available metrics for topics" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "PublishSuccessCount", + "displayName": "Published Events", + "displayDescription": "Total events published to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "PublishFailCount", + "displayName": "Publish Failed Events", + "displayDescription": "Total events failed to publish to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "ErrorType" + }, + { + "name": "Error" + } + ] + }, + { + "name": "UnmatchedEventCount", + "displayName": "Unmatched Events", + "displayDescription": "Total events not matching any of the event subscriptions for this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "UnmatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "PublishSuccessLatencyInMs", + "displayName": "Publish Success Latency", + "displayDescription": "Publish success latency in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessLatencyInMs", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "AdvancedFilterEvaluationCount", + "displayName": "Advanced Filter Evaluations", + "displayDescription": "Total advanced filters evaluated across event subscriptions for this topic.", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "AdvancedFilterEvaluationCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "MatchedEventCount", + "displayName": "Matched Events", + "displayDescription": "Total events matched to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "MatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeliveryAttemptFailCount", + "displayName": "Delivery Failed Events", + "displayDescription": "Total events failed to deliver to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliveryFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Error" + }, + { + "name": "ErrorType" + }, + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeliverySuccessCount", + "displayName": "Delivered Events", + "displayDescription": "Total events delivered to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliverySuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DestinationProcessingDurationInMs", + "displayName": "Destination Processing Duration", + "displayDescription": "Destination processing duration in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Average", + "internalMetricName": "DestinationProcessingDelay", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DroppedEventCount", + "displayName": "Dropped Events", + "displayDescription": "Total dropped events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DroppedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "DropReason" + }, + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeadLetteredCount", + "displayName": "Dead Lettered Events", + "displayDescription": "Total dead lettered events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeadLetteredCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "DeadLetterReason" + }, + { + "name": "EventSubscriptionName" + } + ] + } + ], + "logSpecifications": null + } + } + }, + { + "name": "Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "System Topics Metrics", + "operation": "Read system topic metric definitions", + "description": "Gets the available metrics for system topics" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "PublishSuccessCount", + "displayName": "Published Events", + "displayDescription": "Total events published to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "PublishFailCount", + "displayName": "Publish Failed Events", + "displayDescription": "Total events failed to publish to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "ErrorType" + }, + { + "name": "Error" + } + ] + }, + { + "name": "UnmatchedEventCount", + "displayName": "Unmatched Events", + "displayDescription": "Total events not matching any of the event subscriptions for this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "UnmatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "PublishSuccessLatencyInMs", + "displayName": "Publish Success Latency", + "displayDescription": "Publish success latency in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessLatencyInMs", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "AdvancedFilterEvaluationCount", + "displayName": "Advanced Filter Evaluations", + "displayDescription": "Total advanced filters evaluated across event subscriptions for this topic.", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "AdvancedFilterEvaluationCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "MatchedEventCount", + "displayName": "Matched Events", + "displayDescription": "Total events matched to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "MatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeliveryAttemptFailCount", + "displayName": "Delivery Failed Events", + "displayDescription": "Total events failed to deliver to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliveryFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Error" + }, + { + "name": "ErrorType" + }, + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeliverySuccessCount", + "displayName": "Delivered Events", + "displayDescription": "Total events delivered to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliverySuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DestinationProcessingDurationInMs", + "displayName": "Destination Processing Duration", + "displayDescription": "Destination processing duration in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Average", + "internalMetricName": "DestinationProcessingDelay", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DroppedEventCount", + "displayName": "Dropped Events", + "displayDescription": "Total dropped events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DroppedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "DropReason" + }, + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeadLetteredCount", + "displayName": "Dead Lettered Events", + "displayDescription": "Total dead lettered events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeadLetteredCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "DeadLetterReason" + }, + { + "name": "EventSubscriptionName" + } + ] + } + ], + "logSpecifications": null + } + } + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Partner Namespaces Metrics", + "operation": "Read partner namespace metric definitions", + "description": "Gets the available metrics for partner namespaces" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "PublishSuccessCount", + "displayName": "Published Events", + "displayDescription": "Total events published to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "PublishFailCount", + "displayName": "Publish Failed Events", + "displayDescription": "Total events failed to publish to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "ErrorType" + }, + { + "name": "Error" + } + ] + }, + { + "name": "UnmatchedEventCount", + "displayName": "Unmatched Events", + "displayDescription": "Total events not matching any of the event subscriptions for this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "UnmatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "PublishSuccessLatencyInMs", + "displayName": "Publish Success Latency", + "displayDescription": "Publish success latency in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessLatencyInMs", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + } + ], + "logSpecifications": null + } + } + }, + { + "name": "Microsoft.EventGrid/partnerTopics/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Partner Topics Metrics", + "operation": "Read partner topic metric definitions", + "description": "Gets the available metrics for partner topics" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "PublishSuccessCount", + "displayName": "Published Events", + "displayDescription": "Total events published to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "UnmatchedEventCount", + "displayName": "Unmatched Events", + "displayDescription": "Total events not matching any of the event subscriptions for this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "UnmatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "AdvancedFilterEvaluationCount", + "displayName": "Advanced Filter Evaluations", + "displayDescription": "Total advanced filters evaluated across event subscriptions for this topic.", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "AdvancedFilterEvaluationCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "MatchedEventCount", + "displayName": "Matched Events", + "displayDescription": "Total events matched to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "MatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeliveryAttemptFailCount", + "displayName": "Delivery Failed Events", + "displayDescription": "Total events failed to deliver to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliveryFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Error" + }, + { + "name": "ErrorType" + }, + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeliverySuccessCount", + "displayName": "Delivered Events", + "displayDescription": "Total events delivered to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliverySuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DestinationProcessingDurationInMs", + "displayName": "Destination Processing Duration", + "displayDescription": "Destination processing duration in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Average", + "internalMetricName": "DestinationProcessingDelay", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DroppedEventCount", + "displayName": "Dropped Events", + "displayDescription": "Total dropped events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DroppedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "DropReason" + }, + { + "name": "EventSubscriptionName" + } + ] + }, + { + "name": "DeadLetteredCount", + "displayName": "Dead Lettered Events", + "displayDescription": "Total dead lettered events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeadLetteredCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "DeadLetterReason" + }, + { + "name": "EventSubscriptionName" + } + ] + } + ], + "logSpecifications": null + } + } + }, + { + "name": "Microsoft.EventGrid/topics/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Topics Diagnostics", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Topics Diagnostics", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "EventSubscription Metrics", + "operation": "Read eventSubscription metric definitions", + "description": "Gets the available metrics for eventSubscriptions" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "MatchedEventCount", + "displayName": "Matched Events", + "displayDescription": "Total events matched to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "MatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "DeliveryAttemptFailCount", + "displayName": "Delivery Failed Events", + "displayDescription": "Total events failed to deliver to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliveryFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "Error" + }, + { + "name": "ErrorType" + } + ] + }, + { + "name": "DeliverySuccessCount", + "displayName": "Delivered Events", + "displayDescription": "Total events delivered to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeliverySuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "DestinationProcessingDurationInMs", + "displayName": "Destination Processing Duration", + "displayDescription": "Destination processing duration in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Average", + "internalMetricName": "DestinationProcessingDelay", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "DroppedEventCount", + "displayName": "Dropped Events", + "displayDescription": "Total dropped events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DroppedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "DropReason" + } + ] + }, + { + "name": "DeadLetteredCount", + "displayName": "Dead Lettered Events", + "displayDescription": "Total dead lettered events matching to this event subscription", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "DeadLetteredCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "DeadLetterReason" + } + ] + } + ], + "logSpecifications": null + } + } + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "EventSubscription Diagnostics", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for event subscriptions" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "EventSubscription Diagnostics", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for event subscriptions" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/extensionTopics/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Topics Metrics", + "operation": "Read topic metric definitions", + "description": "Gets the available metrics for topics" + }, + "origin": "User,System", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "PublishSuccessCount", + "displayName": "Published Events", + "displayDescription": "Total events published to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "PublishFailCount", + "displayName": "Publish Failed Events", + "displayDescription": "Total events failed to publish to this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "PublishFailCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [ + { + "name": "ErrorType" + }, + { + "name": "Error" + } + ] + }, + { + "name": "UnmatchedEventCount", + "displayName": "Unmatched Events", + "displayDescription": "Total events not matching any of the event subscriptions for this topic", + "unit": "Count", + "aggregationType": "Total", + "internalMetricName": "UnmatchedEventCount", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + }, + { + "name": "PublishSuccessLatencyInMs", + "displayName": "Publish Success Latency", + "displayDescription": "Publish success latency in milliseconds", + "unit": "Milliseconds", + "aggregationType": "Total", + "internalMetricName": "PublishSuccessLatencyInMs", + "fillGapWithZero": true, + "isDimensionRequired": false, + "resourceIdDimensionNameOverride": null, + "sourceMdmAccount": "AzureEventGrid", + "sourceMdmNamespace": "ResourceMetrics", + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "P30D" + } + ], + "dimensions": [] + } + ], + "logSpecifications": null + } + } + }, + { + "name": "Microsoft.EventGrid/extensionTopics/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Topics Diagnostics", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/extensionTopics/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Topics Diagnostics", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Topics Diagnostics", + "operation": "Read diagnostic logs", + "description": "Allows access to diagnostic logs" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "DeliveryFailures", + "displayName": "Delivery Failure Logs", + "blobDuration": "PT5M" + }, + { + "name": "PublishFailures", + "displayName": "Publish Failure Logs", + "blobDuration": "PT5M" + } + ] + } + } + }, + { + "name": "Microsoft.EventGrid/domains/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Microsoft.EventGrid/domains", + "operation": "Read diagnostic logs", + "description": "Allows access to diagnostic logs" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "DeliveryFailures", + "displayName": "Delivery Failure Logs", + "blobDuration": "PT5M" + }, + { + "name": "PublishFailures", + "displayName": "Publish Failure Logs", + "blobDuration": "PT5M" + } + ] + } + } + }, + { + "name": "Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "systemTopics", + "operation": "Read diagnostic logs", + "description": "Allows access to diagnostic logs" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "DeliveryFailures", + "displayName": "Delivery Failure Logs", + "blobDuration": "PT5M" + } + ] + } + } + }, + { + "name": "Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "System topics Diagnostics", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for system topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "System topics Diagnostics", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for system topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerNamespaces", + "operation": "Read diagnostic logs", + "description": "Allows access to diagnostic logs" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "DeliveryFailures", + "displayName": "Delivery Failure Logs", + "blobDuration": "PT5M" + }, + { + "name": "PublishFailures", + "displayName": "Publish Failure Logs", + "blobDuration": "PT5M" + } + ] + } + } + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Partner namespaces Diagnostics", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Partner namespaces Diagnostics", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "partnerTopics", + "operation": "Read diagnostic logs", + "description": "Allows access to diagnostic logs" + }, + "origin": "System", + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "DeliveryFailures", + "displayName": "Delivery Failure Logs", + "blobDuration": "PT5M" + } + ] + } + } + }, + { + "name": "Microsoft.EventGrid/partnerTopics/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Partner topics Diagnostics", + "operation": "Read diagnostic setting", + "description": "Gets the diagnostic setting for partner topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "Partner topics Diagnostics", + "operation": "Write diagnostic setting", + "description": "Creates or updates the diagnostic setting for partner topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/sku/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "sku", + "operation": "Read available Sku Definitions for event grid resources", + "description": "Read available Sku Definitions for event grid resources" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/getDeliveryAttributes/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get EventSubscription Delivery Attributes", + "description": "Get EventSubscription Delivery Attributes" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/systemTopics/eventSubscriptions/getDeliveryAttributes/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get SystemTopic EventSubscription Delivery Attributes", + "description": "Get SystemTopic EventSubscription Delivery Attributes" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/partnerTopics/eventSubscriptions/getDeliveryAttributes/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get PartnerTopic EventSubscription Delivery Attributes", + "description": "Get PartnerTopic EventSubscription Delivery Attributes" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/eventSubscriptions/getDeliveryAttributes/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get Topic EventSubscription Delivery Attributes", + "description": "Get Topic EventSubscription Delivery Attributes" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/eventSubscriptions/getDeliveryAttributes/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get Domain EventSubscription Delivery Attributes", + "description": "Get Domain EventSubscription Delivery Attributes" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/topics/eventSubscriptions/getDeliveryAttributes/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Get DomainTopic EventSubscription Delivery Attributes", + "description": "Get DomainTopic EventSubscription Delivery Attributes" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/topics/privateEndpointConnectionProxies/validate/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Validate PrivateEndpointConnectionProxies for topics", + "description": "Validate PrivateEndpointConnectionProxies for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/privateEndpointConnectionProxies/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Read PrivateEndpointConnectionProxies for topics", + "description": "Read PrivateEndpointConnectionProxies for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/privateEndpointConnectionProxies/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Write PrivateEndpointConnectionProxies for topics", + "description": "Write PrivateEndpointConnectionProxies for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/privateEndpointConnectionProxies/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Delete PrivateEndpointConnectionProxies for topics", + "description": "Delete PrivateEndpointConnectionProxies for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/privateEndpointConnections/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Read PrivateEndpointConnections for topics", + "description": "Read PrivateEndpointConnections for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/privateEndpointConnections/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Write PrivateEndpointConnections for topics", + "description": "Write PrivateEndpointConnections for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/privateEndpointConnections/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Delete PrivateEndpointConnections for topics", + "description": "Delete PrivateEndpointConnections for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/PrivateEndpointConnectionsApproval/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Approve PrivateEndpointConnections for topics", + "description": "Approve PrivateEndpointConnections for topics" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/topics/privateLinkResources/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateLinkResources", + "operation": "Read PrivateLinkResources for topics", + "description": "Read PrivateLinkResources for topics" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/domains/privateEndpointConnectionProxies/validate/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Validate PrivateEndpointConnectionProxies for domains", + "description": "Validate PrivateEndpointConnectionProxies for domains" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/domains/privateEndpointConnectionProxies/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Read PrivateEndpointConnectionProxies for domains", + "description": "Read PrivateEndpointConnectionProxies for domains" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/domains/privateEndpointConnectionProxies/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Write PrivateEndpointConnectionProxies for domains", + "description": "Write PrivateEndpointConnectionProxies for domains" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/domains/privateEndpointConnectionProxies/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Delete PrivateEndpointConnectionProxies for domains", + "description": "Delete PrivateEndpointConnectionProxies for domains" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/domains/privateEndpointConnections/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Read PrivateEndpointConnections for domains", + "description": "Read PrivateEndpointConnections for domains" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/domains/privateEndpointConnections/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Write PrivateEndpointConnections for domains", + "description": "Write PrivateEndpointConnections for domains" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/domains/privateEndpointConnections/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Delete PrivateEndpointConnections for domains", + "description": "Delete PrivateEndpointConnections for domains" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/domains/PrivateEndpointConnectionsApproval/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Approve PrivateEndpointConnections for domains", + "description": "Approve PrivateEndpointConnections for domains" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/domains/privateLinkResources/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateLinkResources", + "operation": "Get PrivateLinkResources for domains", + "description": "Get or List PrivateLinkResources for domains" + }, + "origin": "User,System" + }, + { + "name": "Microsoft.EventGrid/events/send/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "events", + "operation": "Send events", + "description": "Send events to topics" + }, + "origin": "User,System", + "isDataAction": true + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnectionProxies/validate/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Validate PrivateEndpointConnectionProxies for partner namespaces", + "description": "Validate PrivateEndpointConnectionProxies for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnectionProxies/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Read PrivateEndpointConnectionProxies for partner namespaces", + "description": "Read PrivateEndpointConnectionProxies for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnectionProxies/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Write PrivateEndpointConnectionProxies for partner namespaces", + "description": "Write PrivateEndpointConnectionProxies for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnectionProxies/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnectionProxies", + "operation": "Delete PrivateEndpointConnectionProxies for partner namespaces", + "description": "Delete PrivateEndpointConnectionProxies for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnections/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Read PrivateEndpointConnections for partner namespaces", + "description": "Read PrivateEndpointConnections for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnections/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Write PrivateEndpointConnections for partner namespaces", + "description": "Write PrivateEndpointConnections for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnections/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Delete PrivateEndpointConnections for partner namespaces", + "description": "Delete PrivateEndpointConnections for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/PrivateEndpointConnectionsApproval/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateEndpointConnections", + "operation": "Approve PrivateEndpointConnections for partner namespaces", + "description": "Approve PrivateEndpointConnections for partner namespaces" + }, + "origin": "System" + }, + { + "name": "Microsoft.EventGrid/partnerNamespaces/privateLinkResources/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "privateLinkResources", + "operation": "Read PrivateLinkResources for partner namespaces", + "description": "Read PrivateLinkResources for partner namespaces" + }, + "origin": "User,System" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "21", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "location": "global" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1188", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063037Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "partnerAuthorization": null, + "provisioningState": "Succeeded" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default", + "name": "default", + "type": "Microsoft.EventGrid/partnerConfigurations" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/partnerConfigurations?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11954", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063037Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "partnerAuthorization": { + "defaultMaximumExpirationTimeInDays": 7, + "authorizedPartnersList": [ + { + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "partnerName": "Auth0", + "authorizationExpirationTimeInUtc": "2022-11-04T09:22:27.214Z" + } + ] + }, + "provisioningState": "Succeeded" + }, + "systemData": null, + "location": "global", + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-test/providers/Microsoft.EventGrid/partnerConfigurations/default", + "name": "default", + "type": "Microsoft.EventGrid/partnerConfigurations" + }, + { + "properties": { + "partnerAuthorization": null, + "provisioningState": "Succeeded" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default", + "name": "default", + "type": "Microsoft.EventGrid/partnerConfigurations" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11953", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063038Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "partnerAuthorization": null, + "provisioningState": "Succeeded" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default", + "name": "default", + "type": "Microsoft.EventGrid/partnerConfigurations" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11952", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063039Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "partnerAuthorization": null, + "provisioningState": "Succeeded" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default", + "name": "default", + "type": "Microsoft.EventGrid/partnerConfigurations" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "100", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "defaultMaximumExpirationTimeInDays": 100 + }, + "tags": { + "tag1": "value11", + "tag2": "value22" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1187", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063042Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "partnerAuthorization": { + "defaultMaximumExpirationTimeInDays": 100, + "authorizedPartnersList": null + }, + "provisioningState": "Succeeded" + }, + "systemData": null, + "location": "global", + "tags": { + "tag1": "value11", + "tag2": "value22" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default", + "name": "default", + "type": "Microsoft.EventGrid/partnerConfigurations" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default/authorizePartner?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "23", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "partnerName": "Auth0" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063042Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "partnerAuthorization": { + "defaultMaximumExpirationTimeInDays": 100, + "authorizedPartnersList": [ + { + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "partnerName": "Auth0", + "authorizationExpirationTimeInUtc": "2023-02-08T06:30:42.7125443Z" + } + ] + }, + "provisioningState": "Succeeded" + }, + "systemData": null, + "location": "global", + "tags": { + "tag1": "value11", + "tag2": "value22" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default", + "name": "default", + "type": "Microsoft.EventGrid/partnerConfigurations" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default/authorizePartner?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "23", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "partnerName": "Auth0" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063043Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "partnerAuthorization": { + "defaultMaximumExpirationTimeInDays": 100, + "authorizedPartnersList": [ + { + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "partnerName": "Auth0", + "authorizationExpirationTimeInUtc": "2023-02-08T06:30:43.4802632Z" + } + ] + }, + "provisioningState": "Succeeded" + }, + "systemData": null, + "location": "global", + "tags": { + "tag1": "value11", + "tag2": "value22" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default", + "name": "default", + "type": "Microsoft.EventGrid/partnerConfigurations" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerConfigurations/default?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:30:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14995", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063047Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "267", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "location": "eastus", + "properties": { + "partnerRegistrationFullyQualifiedId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/44B6F57D-164D-4BE2-8001-2D20970718CF?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "608", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:30:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063052Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Creating", + "partnerRegistrationFullyQualifiedId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "endpoint": null, + "partnerTopicRoutingMode": "SourceEventAttribute" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9", + "name": "partnernamWkloZ9", + "type": "Microsoft.EventGrid/partnerNamespaces" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/44B6F57D-164D-4BE2-8001-2D20970718CF?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11951", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063102Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/44B6F57D-164D-4BE2-8001-2D20970718CF?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11950", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063103Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationFullyQualifiedId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "endpoint": "https://partnernamwkloz9.eastus-1.eventgrid.azure.net/api/events", + "publicNetworkAccess": "Enabled", + "partnerTopicRoutingMode": "SourceEventAttribute" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9", + "name": "partnernamWkloZ9", + "type": "Microsoft.EventGrid/partnerNamespaces" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/partnerNamespaces?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11949", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063103Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationFullyQualifiedId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "endpoint": "https://partnernamwkloz9.eastus-1.eventgrid.azure.net/api/events", + "publicNetworkAccess": "Enabled", + "partnerTopicRoutingMode": "SourceEventAttribute" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9", + "name": "partnernamWkloZ9", + "type": "Microsoft.EventGrid/partnerNamespaces" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11948", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063104Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationFullyQualifiedId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "endpoint": "https://partnernamwkloz9.eastus-1.eventgrid.azure.net/api/events", + "publicNetworkAccess": "Enabled", + "partnerTopicRoutingMode": "SourceEventAttribute" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9", + "name": "partnernamWkloZ9", + "type": "Microsoft.EventGrid/partnerNamespaces" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11947", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063104Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationFullyQualifiedId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "endpoint": "https://partnernamwkloz9.eastus-1.eventgrid.azure.net/api/events", + "publicNetworkAccess": "Enabled", + "partnerTopicRoutingMode": "SourceEventAttribute" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9", + "name": "partnernamWkloZ9", + "type": "Microsoft.EventGrid/partnerNamespaces" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "26", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "tags": { + "tag1": "value1" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/16744F15-D90A-49E7-B9CC-7B5ED47E3032?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "686", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1185", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063108Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Updating", + "partnerRegistrationFullyQualifiedId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "endpoint": "https://partnernamwkloz9.eastus-1.eventgrid.azure.net/api/events", + "publicNetworkAccess": "Enabled", + "partnerTopicRoutingMode": "SourceEventAttribute" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9", + "name": "partnernamWkloZ9", + "type": "Microsoft.EventGrid/partnerNamespaces" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/16744F15-D90A-49E7-B9CC-7B5ED47E3032?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11946", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063118Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/16744F15-D90A-49E7-B9CC-7B5ED47E3032?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11945", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063119Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationFullyQualifiedId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "endpoint": "https://partnernamwkloz9.eastus-1.eventgrid.azure.net/api/events", + "publicNetworkAccess": "Enabled", + "partnerTopicRoutingMode": "SourceEventAttribute" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9", + "name": "partnernamWkloZ9", + "type": "Microsoft.EventGrid/partnerNamespaces" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9/listKeys?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063119Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "key1": "000000000000", + "key2": "000000000000" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9/regenerateKey?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "keyName": "key1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063120Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "key1": "000000000000", + "key2": "000000000000" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerNamespaces/partnernamWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/15EFD439-0DF6-44EB-98A4-5EC093C06B32?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:31:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationResults/15EFD439-0DF6-44EB-98A4-5EC093C06B32?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14994", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063122Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/15EFD439-0DF6-44EB-98A4-5EC093C06B32?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11944", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063132Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/15EFD439-0DF6-44EB-98A4-5EC093C06B32?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/partnerRegistrations?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11943", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063133Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-test/providers/Microsoft.EventGrid/partnerRegistrations/gotestpartnerregistration", + "name": "gotestpartnerregistration", + "type": "Microsoft.EventGrid/partnerRegistrations" + }, + { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregwp9LeF", + "name": "partnerregwp9LeF", + "type": "Microsoft.EventGrid/partnerRegistrations" + }, + { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregAn9x0U", + "name": "partnerregAn9x0U", + "type": "Microsoft.EventGrid/partnerRegistrations" + }, + { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregro3qkG", + "name": "partnerregro3qkG", + "type": "Microsoft.EventGrid/partnerRegistrations" + }, + { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "name": "partnerregWkloZ9", + "type": "Microsoft.EventGrid/partnerRegistrations" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11942", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063133Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "name": "partnerregWkloZ9", + "type": "Microsoft.EventGrid/partnerRegistrations" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11941", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063133Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "name": "partnerregWkloZ9", + "type": "Microsoft.EventGrid/partnerRegistrations" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "42", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1184", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063136Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "visibilityState": "Hidden" + }, + "systemData": null, + "location": "global", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9", + "name": "partnerregWkloZ9", + "type": "Microsoft.EventGrid/partnerRegistrations" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/PrivateEndpoint_Create?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "2832", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "domainId": { + "defaultValue": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9", + "type": "string" + }, + "privateEndpointName": { + "defaultValue": "eventgridprivateendpointWkloZ9", + "type": "string" + }, + "virtualNetworksName": { + "defaultValue": "eventgridvnetWkloZ9", + "type": "string" + } + }, + "resources": [ + { + "apiVersion": "2020-11-01", + "location": "eastus", + "name": "[parameters(\u0027virtualNetworksName\u0027)]", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "enableDdosProtection": false, + "subnets": [ + { + "name": "default", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [], + "privateEndpointNetworkPolicies": "Disabled", + "privateLinkServiceNetworkPolicies": "Enabled" + } + } + ], + "virtualNetworkPeerings": [] + }, + "type": "Microsoft.Network/virtualNetworks" + }, + { + "apiVersion": "2020-11-01", + "dependsOn": [ + "[resourceId(\u0027Microsoft.Network/virtualNetworks/subnets\u0027, parameters(\u0027virtualNetworksName\u0027), \u0027default\u0027)]" + ], + "location": "eastus", + "name": "[concat(parameters(\u0027privateEndpointName\u0027), \u0027-nic\u0027)]", + "properties": { + "dnsSettings": { + "dnsServers": [] + }, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "privateEndpointIpConfig.00000000-0000-0000-0000-000000000000", + "properties": { + "primary": true, + "privateIPAddress": "10.0.0.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "[resourceId(\u0027Microsoft.Network/virtualNetworks/subnets\u0027, parameters(\u0027virtualNetworksName\u0027), \u0027default\u0027)]" + } + } + } + ] + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "apiVersion": "2020-11-01", + "dependsOn": [ + "[resourceId(\u0027Microsoft.Network/virtualNetworks\u0027, parameters(\u0027virtualNetworksName\u0027))]" + ], + "name": "[concat(parameters(\u0027virtualNetworksName\u0027), \u0027/default\u0027)]", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [], + "privateEndpointNetworkPolicies": "Disabled", + "privateLinkServiceNetworkPolicies": "Enabled" + }, + "type": "Microsoft.Network/virtualNetworks/subnets" + }, + { + "apiVersion": "2020-11-01", + "dependsOn": [ + "[resourceId(\u0027Microsoft.Network/virtualNetworks/subnets\u0027, parameters(\u0027virtualNetworksName\u0027), \u0027default\u0027)]" + ], + "location": "eastus", + "name": "[parameters(\u0027privateEndpointName\u0027)]", + "properties": { + "customDnsConfigs": [], + "manualPrivateLinkServiceConnections": [], + "privateLinkServiceConnections": [ + { + "name": "[parameters(\u0027privateEndpointName\u0027)]", + "properties": { + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "actionsRequired": "None", + "description": "Auto-Approved", + "status": "Approved" + }, + "privateLinkServiceId": "[parameters(\u0027domainId\u0027)]" + } + } + ], + "subnet": { + "id": "[resourceId(\u0027Microsoft.Network/virtualNetworks/subnets\u0027, parameters(\u0027virtualNetworksName\u0027), \u0027default\u0027)]" + } + }, + "type": "Microsoft.Network/privateEndpoints" + } + ], + "variables": {} + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/PrivateEndpoint_Create/operationStatuses/08585344089882618684?api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "2775", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1183", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063141Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/PrivateEndpoint_Create", + "name": "PrivateEndpoint_Create", + "type": "Microsoft.Resources/deployments", + "properties": { + "templateHash": "18379584861319940892", + "parameters": { + "domainId": { + "type": "String", + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9" + }, + "privateEndpointName": { + "type": "String", + "value": "eventgridprivateendpointWkloZ9" + }, + "virtualNetworksName": { + "type": "String", + "value": "eventgridvnetWkloZ9" + } + }, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2022-10-31T06:31:39.9237935Z", + "duration": "PT0.0007881S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Network", + "resourceTypes": [ + { + "resourceType": "virtualNetworks", + "locations": [ + "eastus" + ] + }, + { + "resourceType": "networkInterfaces", + "locations": [ + "eastus" + ] + }, + { + "resourceType": "virtualNetworks/subnets", + "locations": [ + null + ] + }, + { + "resourceType": "privateEndpoints", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9/subnets/default", + "resourceType": "Microsoft.Network/virtualNetworks/subnets", + "resourceName": "eventgridvnetWkloZ9/default" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/networkInterfaces/eventgridprivateendpointWkloZ9-nic", + "resourceType": "Microsoft.Network/networkInterfaces", + "resourceName": "eventgridprivateendpointWkloZ9-nic" + }, + { + "dependsOn": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9", + "resourceType": "Microsoft.Network/virtualNetworks", + "resourceName": "eventgridvnetWkloZ9" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9/subnets/default", + "resourceType": "Microsoft.Network/virtualNetworks/subnets", + "resourceName": "eventgridvnetWkloZ9/default" + }, + { + "dependsOn": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9/subnets/default", + "resourceType": "Microsoft.Network/virtualNetworks/subnets", + "resourceName": "eventgridvnetWkloZ9/default" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointWkloZ9", + "resourceType": "Microsoft.Network/privateEndpoints", + "resourceName": "eventgridprivateendpointWkloZ9" + } + ] + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/PrivateEndpoint_Create/operationStatuses/08585344089882618684?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "20", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:31:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11940", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063141Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/PrivateEndpoint_Create/operationStatuses/08585344089882618684?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "20", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11939", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063212Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/PrivateEndpoint_Create/operationStatuses/08585344089882618684?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "22", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11938", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063242Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/PrivateEndpoint_Create?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Length": "3462", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11937", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063243Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Resources/deployments/PrivateEndpoint_Create", + "name": "PrivateEndpoint_Create", + "type": "Microsoft.Resources/deployments", + "properties": { + "templateHash": "18379584861319940892", + "parameters": { + "domainId": { + "type": "String", + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9" + }, + "privateEndpointName": { + "type": "String", + "value": "eventgridprivateendpointWkloZ9" + }, + "virtualNetworksName": { + "type": "String", + "value": "eventgridvnetWkloZ9" + } + }, + "mode": "Incremental", + "provisioningState": "Succeeded", + "timestamp": "2022-10-31T06:32:32.0769708Z", + "duration": "PT52.1539654S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Network", + "resourceTypes": [ + { + "resourceType": "virtualNetworks", + "locations": [ + "eastus" + ] + }, + { + "resourceType": "networkInterfaces", + "locations": [ + "eastus" + ] + }, + { + "resourceType": "virtualNetworks/subnets", + "locations": [ + null + ] + }, + { + "resourceType": "privateEndpoints", + "locations": [ + "eastus" + ] + } + ] + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9/subnets/default", + "resourceType": "Microsoft.Network/virtualNetworks/subnets", + "resourceName": "eventgridvnetWkloZ9/default" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/networkInterfaces/eventgridprivateendpointWkloZ9-nic", + "resourceType": "Microsoft.Network/networkInterfaces", + "resourceName": "eventgridprivateendpointWkloZ9-nic" + }, + { + "dependsOn": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9", + "resourceType": "Microsoft.Network/virtualNetworks", + "resourceName": "eventgridvnetWkloZ9" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9/subnets/default", + "resourceType": "Microsoft.Network/virtualNetworks/subnets", + "resourceName": "eventgridvnetWkloZ9/default" + }, + { + "dependsOn": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9/subnets/default", + "resourceType": "Microsoft.Network/virtualNetworks/subnets", + "resourceName": "eventgridvnetWkloZ9/default" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointWkloZ9", + "resourceType": "Microsoft.Network/privateEndpoints", + "resourceName": "eventgridprivateendpointWkloZ9" + } + ], + "outputResources": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/networkInterfaces/eventgridprivateendpointWkloZ9-nic" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointWkloZ9" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/virtualNetworks/eventgridvnetWkloZ9/subnets/default" + } + ] + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateEndpointConnections?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11936", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063245Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointWkloZ9" + }, + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateEndpointConnections/eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateEndpointConnections/eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "136", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "privateLinkServiceConnectionState": { + "actionsRequired": "None", + "description": "approving connection", + "status": "Rejected" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/A8262055-C4F9-4230-8ECD-1F7DB02E810F?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "586", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1182", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063246Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "privateEndpoint": null, + "groupIds": null, + "privateLinkServiceConnectionState": { + "status": "Rejected", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Updating" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateEndpointConnections/eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/A8262055-C4F9-4230-8ECD-1F7DB02E810F?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11935", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063257Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/A8262055-C4F9-4230-8ECD-1F7DB02E810F?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateEndpointConnections/eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11934", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063257Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointWkloZ9" + }, + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "status": "Rejected", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateEndpointConnections/eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateEndpointConnections/eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11933", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063258Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.Network/privateEndpoints/eventgridprivateendpointWkloZ9" + }, + "groupIds": [ + "domain" + ], + "privateLinkServiceConnectionState": { + "status": "Rejected", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateEndpointConnections/eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000", + "name": "eventgridprivateendpointWkloZ9.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/domains/privateEndpointConnections" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateLinkResources?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:32:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11932", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063259Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "groupId": "domain", + "displayName": "Event Grid domain", + "requiredMembers": [ + "domain" + ], + "requiredZoneNames": [ + "privatelink.eventgrid.azure.net" + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/domains/domainnameWkloZ9/privateLinkResources/domain", + "name": "domain", + "type": "Microsoft.EventGrid/domains/privateLinkResources" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "247", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "destination": { + "endpointType": "EventHub", + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + } + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/B5452E7E-A119-4604-AC6A-E861C0417F01?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "1275", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1181", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063301Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "provisioningState": "Creating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/B5452E7E-A119-4604-AC6A-E861C0417F01?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11931", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063311Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/B5452E7E-A119-4604-AC6A-E861C0417F01?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11930", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063312Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11929", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063312Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions?api-version=2022-06-15\u0026$skiptoken=%5b%7b%22token%22%3anull%2c%22range%22%3a%7b%22min%22%3a%2205C1E0%22%2c%22max%22%3a%22FF%22%7d%7d%5d\u0026$top=20" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11928", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063313Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "21", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "labels": [ + "label1" + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/B80F76CC-A147-4F07-9D22-0150E9146927?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "1321", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1180", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063314Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "provisioningState": "Updating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": [ + "label1" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/B80F76CC-A147-4F07-9D22-0150E9146927?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11927", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063324Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/B80F76CC-A147-4F07-9D22-0150E9146927?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11926", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063325Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "", + "includedEventTypes": [ + "Microsoft.Resources.ResourceWriteSuccess", + "Microsoft.Resources.ResourceWriteFailure", + "Microsoft.Resources.ResourceWriteCancel", + "Microsoft.Resources.ResourceDeleteSuccess", + "Microsoft.Resources.ResourceDeleteFailure", + "Microsoft.Resources.ResourceDeleteCancel", + "Microsoft.Resources.ResourceActionSuccess", + "Microsoft.Resources.ResourceActionFailure", + "Microsoft.Resources.ResourceActionCancel" + ] + }, + "labels": [ + "label1" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9/getDeliveryAttributes?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063326Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": null + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/35BC7B80-7E45-42ED-B247-166BC7D01D1F?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:33:26 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationResults/35BC7B80-7E45-42ED-B247-166BC7D01D1F?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14993", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063327Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/35BC7B80-7E45-42ED-B247-166BC7D01D1F?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11925", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063337Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/92F95D8F-3C67-4124-91C7-8CF07CDBF241/providers/Microsoft.EventGrid/operationsStatus/35BC7B80-7E45-42ED-B247-166BC7D01D1F?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/systemTopics?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11924", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063338Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_eventgrid_test_eventgrid31ec0fa8", + "topicType": "microsoft.resources.resourcegroups", + "metricResourceId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_eventgrid_test_eventgrid31ec0fa8/providers/Microsoft.EventGrid/systemTopics/test_cli_mgmt_eventgrid_test_eventgrid31ec0fa8-00000000-0000-0000-0000-000000000000", + "name": "test_cli_mgmt_eventgrid_test_eventgrid31ec0fa8-00000000-0000-0000-0000-000000000000", + "type": "Microsoft.EventGrid/systemTopics" + }, + { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000", + "topicType": "Microsoft.Resources.Subscriptions", + "metricResourceId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "name": "systemtopiWkloZ9", + "type": "Microsoft.EventGrid/systemTopics" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11923", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063338Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000", + "topicType": "Microsoft.Resources.Subscriptions", + "metricResourceId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "name": "systemtopiWkloZ9", + "type": "Microsoft.EventGrid/systemTopics" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11922", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063339Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000", + "topicType": "Microsoft.Resources.Subscriptions", + "metricResourceId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": null, + "location": "global", + "tags": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "name": "systemtopiWkloZ9", + "type": "Microsoft.EventGrid/systemTopics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "42", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1179", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063341Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000", + "topicType": "Microsoft.Resources.Subscriptions", + "metricResourceId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": null, + "location": "global", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9", + "name": "systemtopiWkloZ9", + "type": "Microsoft.EventGrid/systemTopics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "247", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "destination": { + "endpointType": "EventHub", + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + } + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/07605956-C3BB-4842-8C03-F25E3F1B8FB2?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "842", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1178", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063344Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/topics/topicnamewkloz9", + "provisioningState": "Creating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/topics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/07605956-C3BB-4842-8C03-F25E3F1B8FB2?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11921", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063354Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/07605956-C3BB-4842-8C03-F25E3F1B8FB2?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11920", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063355Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/topics/topicnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/topics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11919", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063355Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/topics/topicnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/topics/eventSubscriptions" + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions?api-version=2022-06-15\u0026$skiptoken=%5b%7b%22token%22%3anull%2c%22range%22%3a%7b%22min%22%3a%2205C1DF6B5557E0%22%2c%22max%22%3a%22FF%22%7d%7d%5d\u0026$top=20" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11918", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063356Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/topics/topicnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/topics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "21", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "labels": [ + "label1" + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/09C6907C-0AA8-4383-B963-A4142E321144?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:33:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1177", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063358Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/topics/topicnamewkloz9", + "provisioningState": "Updating", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": [ + "label1" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/topics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/09C6907C-0AA8-4383-B963-A4142E321144?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11917", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063408Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/09C6907C-0AA8-4383-B963-A4142E321144?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11916", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063409Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/microsoft.eventgrid/topics/topicnamewkloz9", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventHub/namespaces/eventhubnaWkloZ9/eventhubs/eventhubs" + }, + "endpointType": "EventHub" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": [ + "label1" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "systemData": null, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9", + "name": "eventsubscWkloZ9", + "type": "Microsoft.EventGrid/topics/eventSubscriptions" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9/getDeliveryAttributes?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063409Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": null + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/eventSubscriptions/eventsubscWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/334BEA4A-43CE-46B1-8590-6077B0501C5D?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:34:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationResults/334BEA4A-43CE-46B1-8590-6077B0501C5D?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14992", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063411Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/334BEA4A-43CE-46B1-8590-6077B0501C5D?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11915", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063422Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/334BEA4A-43CE-46B1-8590-6077B0501C5D?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.EventGrid/topicTypes?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-tenant-reads": "11998", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063422Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provider": "Microsoft.Eventhub", + "displayName": "Event Hubs Namespaces", + "description": "Microsoft Event Hubs service events.", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "Central US EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.EventHub/namespaces/\u003CnamespaceName\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces", + "name": "Microsoft.Eventhub.Namespaces", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Storage", + "displayName": "Storage Accounts (Blob \u0026 GPv2)", + "description": "Microsoft Storage service events.", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US 2 (Stage)", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Norway East", + "Norway West", + "West US 3", + "Jio India Central", + "Jio India West", + "Sweden Central", + "Sweden South" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Storage/storageAccounts/\u003CstorageAccountName\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts", + "name": "Microsoft.Storage.StorageAccounts", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Resources", + "displayName": "Azure Subscriptions", + "description": "Resource management events under an Azure subscription", + "resourceRegionType": "GlobalResource", + "provisioningState": "Succeeded", + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Resources.Subscriptions", + "name": "Microsoft.Resources.Subscriptions", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Resources", + "displayName": "Resource Groups", + "description": "Resource management events under a resource group.", + "resourceRegionType": "GlobalResource", + "provisioningState": "Succeeded", + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Resources.ResourceGroups", + "name": "Microsoft.Resources.ResourceGroups", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Devices", + "displayName": "Azure IoT Hub Accounts", + "description": "Azure IoT Hub service events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "Canada Central", + "Canada East", + "Central India", + "South India", + "UK West", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "North Central US", + "South Central US", + "Korea Central", + "Korea South", + "France Central", + "UAE North", + "UAE Central", + "South Africa North", + "South Africa West", + "Germany North", + "Germany West Central", + "Australia Central", + "Australia Central 2", + "East US 2 EUAP", + "France South", + "West US 3" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Devices/ioTHubs/\u003ChubName\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Devices.IoTHubs", + "name": "Microsoft.Devices.IoTHubs", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.EventGrid", + "displayName": "Event Grid Topics", + "description": "Custom events via Event Grid Topics", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Brazil Southeast", + "West US 3", + "Jio India Central", + "Jio India West", + "Sweden Central", + "Sweden South", + "Qatar Central" + ] + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.EventGrid.Topics", + "name": "Microsoft.EventGrid.Topics", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.ServiceBus", + "displayName": "Service Bus Namespaces", + "description": "Service Bus events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.ServiceBus/namespaces/\u003CnamespaceName\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.ServiceBus.Namespaces", + "name": "Microsoft.ServiceBus.Namespaces", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.ContainerRegistry", + "displayName": "Azure Container Registry", + "description": "Azure Container Registry service events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "South Central US", + "North Central US", + "Central US EUAP", + "Brazil South", + "Canada East", + "Canada Central", + "UK South", + "UK West", + "Australia East", + "Australia Southeast", + "Central India", + "Japan East", + "Japan West", + "South India" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.ContainerRegistry/registries/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.ContainerRegistry.Registries", + "name": "Microsoft.ContainerRegistry.Registries", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Media", + "displayName": "Microsoft Azure Media Services", + "description": "Microsoft Azure Media Services events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Central India", + "Central US", + "Central US EUAP", + "East Asia", + "East US", + "East US 2", + "East US 2 EUAP", + "France Central", + "France South", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Central US", + "North Europe", + "South Central US", + "South India", + "Southeast Asia", + "UK South", + "UK West", + "West Central US", + "West Europe", + "West India", + "West US", + "West US 2", + "West US 3", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Norway East", + "Brazil Southeast", + "Sweden Central", + "Jio India West", + "Australia Central", + "Qatar Central" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Media/MediaServices/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Media.MediaServices", + "name": "Microsoft.Media.MediaServices", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Maps", + "displayName": "Azure Maps Accounts", + "description": "Microsoft Maps service events.", + "resourceRegionType": "GlobalResource", + "provisioningState": "Succeeded", + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Maps/Accounts/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Maps.Accounts", + "name": "Microsoft.Maps.Accounts", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.EventGrid", + "displayName": "Event Grid Domains", + "description": "Custom events via Event Grid Domains.", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Brazil Southeast", + "West US 3", + "Jio India Central", + "Jio India West", + "Sweden Central", + "Sweden South", + "Qatar Central" + ] + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.EventGrid.Domains", + "name": "Microsoft.EventGrid.Domains", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.AppConfiguration", + "displayName": "Microsoft Azure App Configuration", + "description": "Microsoft Azure App Configuration events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "East US 2 EUAP", + "West Central US", + "East US", + "South East Asia", + "West Europe", + "Australia East", + "North Europe", + "UK South", + "South Central US", + "East US 2", + "West US 2", + "West US", + "Central US", + "Brazil South", + "Canada Central", + "East Asia", + "France Central", + "Japan East", + "Korea Central", + "North Central US", + "Central India" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.AppConfiguration/ConfigurationStores/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.AppConfiguration.ConfigurationStores", + "name": "Microsoft.AppConfiguration.ConfigurationStores", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.KeyVault", + "displayName": "Microsoft Key Vault", + "description": "Microsoft Key Vault service events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Brazil Southeast", + "West US 3", + "Jio India Central", + "Jio India West", + "Sweden Central", + "Sweden South", + "Qatar Central" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.KeyVault/vaults/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.KeyVault.vaults", + "name": "Microsoft.KeyVault.vaults", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Web", + "displayName": "App Services", + "description": "App Services events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Web/sites/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Web.Sites", + "name": "Microsoft.Web.Sites", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Web", + "displayName": "App Service Plans", + "description": "App Service Plans events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Web/ServerFarms/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Web.ServerFarms", + "name": "Microsoft.Web.ServerFarms", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.SignalRService", + "displayName": "Azure SignalR Service", + "description": "Azure SignalR service events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "Australia East", + "Canada East", + "Central US", + "Central US EUAP", + "East US 2 EUAP", + "East US", + "East US 2", + "Japan East", + "North Europe", + "South Central US", + "Southeast Asia", + "UK South", + "UK West", + "West Central US", + "West Europe", + "West US", + "West US 2", + "Brazil South", + "Korea Central", + "France Central", + "Switzerland North", + "Switzerland West", + "Central India", + "South Africa North", + "UAE North", + "Germany West Central", + "North Central US", + "Norway East", + "East Asia", + "Canada Central", + "West India", + "South India", + "Japan West", + "West US 3", + "Sweden Central", + "Qatar Central", + "norwayeast" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.SignalRService/SignalR/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.SignalRService.SignalR", + "name": "Microsoft.SignalRService.SignalR", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.MachineLearningServices", + "displayName": "Machine Learning Workspaces", + "description": "Microsoft Azure Machine Learning Service events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "East US 2 EUAP", + "West Central US", + "East US", + "East US 2", + "Central US EUAP", + "Central US", + "South Central US", + "North Central US", + "West US", + "West US 2", + "Canada Central", + "Brazil South", + "West Europe", + "North Europe", + "UK South", + "France Central", + "Southeast Asia", + "East Asia", + "Japan East", + "Korea South", + "Korea Central", + "Australia East", + "Germany West Central", + "Central India", + "Japan West", + "Jio India West", + "Norway East", + "South Africa North", + "Switzerland North", + "UAE North", + "West US 3" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.MachineLearningServices/Workspaces/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.MachineLearningServices.Workspaces", + "name": "Microsoft.MachineLearningServices.Workspaces", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Cache", + "displayName": "Microsoft Azure Cache for Redis", + "description": "Microsoft Azure Cache for Redis service events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Brazil Southeast", + "West US 3", + "qatarcentral" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Cache/Redis/\u003CredisName\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Cache.Redis", + "name": "Microsoft.Cache.Redis", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.Communication", + "displayName": "Azure Communication Services", + "description": "Azure Communication Service Events", + "resourceRegionType": "GlobalResource", + "provisioningState": "Succeeded", + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Communication/communicationservices/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Communication.CommunicationServices", + "name": "Microsoft.Communication.CommunicationServices", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.PolicyInsights", + "displayName": "Microsoft PolicyInsights", + "description": "Microsoft PolicyInsights service events", + "resourceRegionType": "GlobalResource", + "provisioningState": "Succeeded", + "supportedScopesForSource": [ + "AzureSubscription", + "ManagementGroup" + ] + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.PolicyInsights.PolicyStates", + "name": "Microsoft.PolicyInsights.PolicyStates", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.AgFoodPlatform", + "displayName": "Azure FarmBeats (Preview)", + "description": "Microsoft FarmBeats service events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Brazil Southeast", + "West US 3" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.AgFoodPlatform/farmBeats/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.AgFoodPlatform.FarmBeats", + "name": "Microsoft.AgFoodPlatform.FarmBeats", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.ApiManagement", + "displayName": "Azure API Management Service", + "description": "Microsoft ApiManagement Service events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Brazil Southeast", + "West US 3", + "Jio India Central", + "Jio India West", + "Sweden Central", + "Sweden South" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.ApiManagement/service/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.ApiManagement.Service", + "name": "Microsoft.ApiManagement.Service", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "provider": "Microsoft.HealthcareApis", + "displayName": "Azure Health Data Services", + "description": "Azure Health Data Services events", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "South Central US", + "West Europe", + "North Europe", + "East US", + "East US 2", + "Australia East", + "UK South", + "West US 2", + "Canada Central", + "Central US", + "Australia Central", + "East US 2 EUAP", + "Central India", + "Korea Central", + "Southeast Asia", + "Sweden Central", + "Switzerland North", + "West US 2", + "West US 3" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.HealthcareApis/workspaces/\u003Cname\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.HealthcareApis.Workspaces", + "name": "Microsoft.HealthcareApis.Workspaces", + "type": "Microsoft.EventGrid/topicTypes" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-tenant-reads": "11997", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063422Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provider": "Microsoft.Storage", + "displayName": "Storage Accounts (Blob \u0026 GPv2)", + "description": "Microsoft Storage service events.", + "resourceRegionType": "RegionalResource", + "provisioningState": "Succeeded", + "supportedLocations": [ + "West US 2", + "West Central US", + "East US 2 EUAP", + "East US 2 (Stage)", + "East US", + "West US", + "Central US", + "East US 2", + "West Europe", + "North Europe", + "Southeast Asia", + "East Asia", + "Japan East", + "Japan West", + "Australia East", + "Australia Southeast", + "North Central US", + "South Central US", + "Canada Central", + "Canada East", + "Central India", + "South India", + "France Central", + "UK West", + "Korea Central", + "Korea South", + "Central US EUAP", + "West India", + "Brazil South", + "UK South", + "Australia Central", + "Australia Central 2", + "France South", + "South Africa North", + "South Africa West", + "UAE North", + "UAE Central", + "Switzerland North", + "Switzerland West", + "Germany North", + "Germany West Central", + "Norway East", + "Norway West", + "West US 3", + "Jio India Central", + "Jio India West", + "Sweden Central", + "Sweden South" + ], + "sourceResourceFormat": "/subscriptions/\u003CsubscriptionId\u003E/resourceGroups/\u003CresourceGroupName\u003E/providers/Microsoft.Storage/storageAccounts/\u003CstorageAccountName\u003E" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts", + "name": "Microsoft.Storage.StorageAccounts", + "type": "Microsoft.EventGrid/topicTypes" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-tenant-reads": "11996", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063423Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "displayName": "Blob Created", + "description": "Raised when a blob is created.", + "schemaUrl": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json", + "isInDefaultSet": true + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated", + "name": "Microsoft.Storage.BlobCreated", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Blob Deleted", + "description": "Raised when a blob is deleted.", + "schemaUrl": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json", + "isInDefaultSet": true + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted", + "name": "Microsoft.Storage.BlobDeleted", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Directory Created", + "description": "Event published when a directory is created", + "schemaUrl": "tbd" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.DirectoryCreated", + "name": "Microsoft.Storage.DirectoryCreated", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Directory Deleted", + "description": "Event published when a directory is deleted", + "schemaUrl": "tbd" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.DirectoryDeleted", + "name": "Microsoft.Storage.DirectoryDeleted", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Blob Renamed", + "description": "Event published when a blob is renamed", + "schemaUrl": "tbd" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobRenamed", + "name": "Microsoft.Storage.BlobRenamed", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Directory Renamed", + "description": "Event published when a directory is renamed", + "schemaUrl": "tbd" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.DirectoryRenamed", + "name": "Microsoft.Storage.DirectoryRenamed", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Blob Tier Changed", + "description": "Event published when blob tier is changed.", + "schemaUrl": "tbd" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobTierChanged", + "name": "Microsoft.Storage.BlobTierChanged", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Blob Inventory Completed", + "description": "Raised when a blob inventory is completed.", + "schemaUrl": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobInventoryPolicyCompleted", + "name": "Microsoft.Storage.BlobInventoryPolicyCompleted", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Async Operation Initiated", + "description": "Event published when blob rehydration is triggered using either the CopyBlob or SetBlobTier APIs.", + "schemaUrl": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.AsyncOperationInitiated", + "name": "Microsoft.Storage.AsyncOperationInitiated", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "displayName": "Lifecycle Policy Completed", + "description": "Raised when a lifecycle policy is completed.", + "schemaUrl": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.LifecyclePolicyCompleted", + "name": "Microsoft.Storage.LifecyclePolicyCompleted", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/topics?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11914", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063423Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://gotesttopic.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [], + "disableLocalAuth": false, + "dataResidencyBoundary": "WithinGeopair" + }, + "identity": { + "type": "None", + "principalId": null, + "tenantId": null, + "userAssignedIdentities": null + }, + "systemData": null, + "location": "eastus", + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-test/providers/Microsoft.EventGrid/topics/gotesttopic", + "name": "gotesttopic", + "type": "Microsoft.EventGrid/topics" + }, + { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://topicnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9", + "name": "topicnameWkloZ9", + "type": "Microsoft.EventGrid/topics" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11913", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063424Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://topicnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9", + "name": "topicnameWkloZ9", + "type": "Microsoft.EventGrid/topics" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11912", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063424Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://topicnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9", + "name": "topicnameWkloZ9", + "type": "Microsoft.EventGrid/topics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "192", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "properties": { + "inboundIpRules": [ + { + "action": "Allow", + "ipMask": "12.18.30.15" + }, + { + "action": "Allow", + "ipMask": "12.18.176.1" + } + ], + "publicNetworkAccess": "Enabled" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/94729D24-AE78-4FE1-9B48-B73980CDD1E5?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "671", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1176", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063429Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Updating", + "endpoint": "https://topicnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9", + "name": "topicnameWkloZ9", + "type": "Microsoft.EventGrid/topics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/94729D24-AE78-4FE1-9B48-B73980CDD1E5?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11911", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063439Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/94729D24-AE78-4FE1-9B48-B73980CDD1E5?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11910", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063440Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "endpoint": "https://topicnamewkloz9.eastus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "metricResourceId": "00000000-0000-0000-0000-000000000000", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "dataResidencyBoundary": "WithinGeopair" + }, + "systemData": null, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9", + "name": "topicnameWkloZ9", + "type": "Microsoft.EventGrid/topics" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/listKeys?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1188", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063440Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "key1": "000000000000", + "key2": "000000000000" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9/regenerateKey?api-version=2022-06-15", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": { + "keyName": "key1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-writes": "1187", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063441Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "key1": "000000000000", + "key2": "000000000000" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.EventGrid/verifiedPartners?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-tenant-reads": "11995", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063442Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "value": [ + { + "properties": { + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "organizationName": "Auth0, Inc.", + "partnerDisplayName": "Auth0", + "partnerTopicDetails": { + "description": "Auth0, the identity platform for application builders, provides developers and enterprises with the building blocks they need to secure their applications.", + "longDescription": "Partnering with Event Grid allows our customers to leverage events emitted by Auth0\u2019s system to accomplish a number of use cases, from engaging with users in meaningful and custom ways after the authentication to automating security and infrastructure tasks.\nThe Auth0 Partner Topic integration allows you to stream your Auth0 log events with high reliability into Azure for consumption with any of your favorite Azure resources. This will allow you to react to events, gain insights, monitor for security issues, and interact with other powerful data pipelines. In order to create an Auth0 Partner topic:\n1. Note the Azure Subscription and Resource Group you want the Partner Topic to be created in.\n2.Log in to your Auth0 account dashboard.\n3.Navigate to Logs \u003E Streams, click \u201CCreate Stream\u201D and select the \u201CAzure Event Grid\u201D event stream.\n4. Provide the Azure Subscription ID, Resource Group and other required information and click \u201CSave\u201D.\n5. View your pending Partner Topics in Azure and activate the topic to allow events to flow.", + "setupUri": "https://marketplace.auth0.com/integrations/azure-log-streaming" + }, + "provisioningState": "Succeeded" + }, + "systemData": null, + "id": "/providers/Microsoft.EventGrid/verifiedPartners/Auth0", + "name": "Auth0", + "type": "Microsoft.EventGrid/verifiedPartners" + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.EventGrid/verifiedPartners/Auth0?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-tenant-reads": "11994", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063442Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "properties": { + "partnerRegistrationImmutableId": "00000000-0000-0000-0000-000000000000", + "organizationName": "Auth0, Inc.", + "partnerDisplayName": "Auth0", + "partnerTopicDetails": { + "description": "Auth0, the identity platform for application builders, provides developers and enterprises with the building blocks they need to secure their applications.", + "longDescription": "Partnering with Event Grid allows our customers to leverage events emitted by Auth0\u2019s system to accomplish a number of use cases, from engaging with users in meaningful and custom ways after the authentication to automating security and infrastructure tasks.\nThe Auth0 Partner Topic integration allows you to stream your Auth0 log events with high reliability into Azure for consumption with any of your favorite Azure resources. This will allow you to react to events, gain insights, monitor for security issues, and interact with other powerful data pipelines. In order to create an Auth0 Partner topic:\n1. Note the Azure Subscription and Resource Group you want the Partner Topic to be created in.\n2.Log in to your Auth0 account dashboard.\n3.Navigate to Logs \u003E Streams, click \u201CCreate Stream\u201D and select the \u201CAzure Event Grid\u201D event stream.\n4. Provide the Azure Subscription ID, Resource Group and other required information and click \u201CSave\u201D.\n5. View your pending Partner Topics in Azure and activate the topic to allow events to flow.", + "setupUri": "https://marketplace.auth0.com/integrations/azure-log-streaming" + }, + "provisioningState": "Succeeded" + }, + "systemData": null, + "id": "/providers/Microsoft.EventGrid/verifiedPartners/Auth0", + "name": "Auth0", + "type": "Microsoft.EventGrid/verifiedPartners" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/systemTopics/systemtopiWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/DE0D1402-42AF-4658-8156-CC6B36BCD2B9?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:34:43 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationResults/DE0D1402-42AF-4658-8156-CC6B36BCD2B9?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14991", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063443Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/DE0D1402-42AF-4658-8156-CC6B36BCD2B9?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:34:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11909", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063454Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/operationsStatus/DE0D1402-42AF-4658-8156-CC6B36BCD2B9?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/partnerRegistrations/partnerregWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:34:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14990", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063457Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/go-sdk-test-rg/providers/Microsoft.EventGrid/topics/topicnameWkloZ9?api-version=2022-06-15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/A2D77AB9-BDEB-42A1-BD1E-34BEEF5995D2?api-version=2022-06-15", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:34:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationResults/A2D77AB9-BDEB-42A1-BD1E-34BEEF5995D2?api-version=2022-06-15", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14989", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063458Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/A2D77AB9-BDEB-42A1-BD1E-34BEEF5995D2?api-version=2022-06-15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armeventgrid/v2.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 31 Oct 2022 06:35:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-reads": "11908", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063509Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": { + "id": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/A2D77AB9-BDEB-42A1-BD1E-34BEEF5995D2?api-version=2022-06-15", + "name": "00000000-0000-0000-0000-000000000000", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/go-sdk-test-rg?api-version=2021-04-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip", + "Authorization": "Sanitized", + "User-Agent": "azsdk-go-armresources/v1.0.0 (go1.19; Windows_NT)" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 31 Oct 2022 06:35:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HTzoyRFNESzoyRFRFU1Q6MkQzOTktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "15", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-ratelimit-remaining-subscription-deletes": "14988", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-routing-request-id": "SOUTHEASTASIA:20221031T063512Z:00000000-0000-0000-0000-000000000000" + }, + "ResponseBody": null + } + ], + "Variables": { + "recordingRandomSeed": "1667197532" + } +}