// 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) Go Code Generator. DO NOT EDIT.

package armconnectedcache_test

import (
	"context"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedcache/armconnectedcache"
	"log"
)

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_CreateOrUpdate_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_BeginCreateOrUpdate() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().BeginCreateOrUpdate(ctx, "rgConnectedCache", "nhdkvstdrrtsxxuz", "fgduqdovidpemlnmhelomffuafdrbgaasqznvrdkbvspfzsnrhncdtqquhijhdpwyzwleukqldpceyxqhqlftqrr", armconnectedcache.EnterpriseMccCacheNodeResource{
		Location: to.Ptr("westus"),
		Properties: &armconnectedcache.CacheNodeProperty{
			CacheNode: &armconnectedcache.CacheNodeEntity{
				FullyQualifiedResourceID: to.Ptr("yeinlleavzbehelhsucb"),
				CustomerName:             to.Ptr("zsklcocjfjhkcpmzyefzkwamdzc"),
				IPAddress:                to.Ptr("gbfkdhloyphnpnhemwrcrxlk"),
				CustomerIndex:            to.Ptr("vafvezmelfgmjsrccjukrhppljvipg"),
				CacheNodeID:              to.Ptr("fmrjefyddfn"),
				CacheNodeName:            to.Ptr("qppvqxliajjfoalzjbgmxggr"),
				CustomerAsn:              to.Ptr[int32](25),
				IsEnabled:                to.Ptr(true),
				MaxAllowableEgressInMbps: to.Ptr[int32](27),
				IsEnterpriseManaged:      to.Ptr(true),
				CidrCSV: []*string{
					to.Ptr("nlqlvrthafvvljuupcbcw"),
				},
				ShouldMigrate:        to.Ptr(true),
				CidrSelectionType:    to.Ptr[int32](11),
				OpenFirewallPort80:   to.Ptr(true),
				OpenFirewallPort443:  to.Ptr(false),
				OpenFirewallPort5000: to.Ptr(false),
				OpenFirewallPort5001: to.Ptr(true),
			},
			StatusCode:    to.Ptr("1"),
			StatusText:    to.Ptr("Success"),
			StatusDetails: to.Ptr("lgljxmyyoakw"),
			AdditionalCacheNodeProperties: &armconnectedcache.AdditionalCacheNodeProperties{
				CacheNodePropertiesDetailsIssuesList: []*string{
					to.Ptr("ennbzfpuszgalzpawmwicaofqcwcj"),
				},
				DriveConfiguration: []*armconnectedcache.CacheNodeDriveConfiguration{
					{
						PhysicalPath: to.Ptr("pcbkezoofhamkycot"),
						SizeInGb:     to.Ptr[int32](14),
						CacheNumber:  to.Ptr[int32](11),
						NginxMapping: to.Ptr("cirlpkpuxg"),
					},
				},
				BgpConfiguration: &armconnectedcache.BgpConfiguration{
					AsnToIPAddressMapping: to.Ptr("fjbggfvumrn"),
				},
				ProxyURLConfiguration: &armconnectedcache.ProxyURLConfiguration{
					ProxyURL: to.Ptr("hplstyg"),
				},
				OptionalProperty1: to.Ptr("ph"),
				OptionalProperty2: to.Ptr("soqqgpgcbhb"),
				OptionalProperty3: to.Ptr("fpnycrbagptsujiotnjfuhlm"),
				OptionalProperty4: to.Ptr("gesqugrxvhxlxxyvatgrautxwlmxsf"),
				OptionalProperty5: to.Ptr("zknjgzpaqtvdqjydd"),
			},
			Error: &armconnectedcache.ErrorDetail{},
		},
		Tags: map[string]*string{
			"key259": to.Ptr("qbkixjuyjkoj"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to poll the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res = armconnectedcache.EnterpriseMccCacheNodesOperationsClientCreateOrUpdateResponse{
	// 	EnterpriseMccCacheNodeResource: armconnectedcache.EnterpriseMccCacheNodeResource{
	// 		Location: to.Ptr("westus"),
	// 		ID: to.Ptr("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DOTest/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1"),
	// 		Name: to.Ptr("MccRPTest1"),
	// 		Type: to.Ptr("Microsoft.ConnectedCache/enterpriseMccCustomers/enterpriseMccCacheNodes"),
	// 		Properties: &armconnectedcache.CacheNodeProperty{
	// 			ProvisioningState: to.Ptr(armconnectedcache.ProvisioningStateSucceeded),
	// 			CacheNode: &armconnectedcache.CacheNodeEntity{
	// 				FullyQualifiedResourceID: to.Ptr("yeinlleavzbehelhsucb"),
	// 				CustomerID: to.Ptr("xjjgcknmsakfawcmwbdufdxktysp"),
	// 				CustomerName: to.Ptr("zsklcocjfjhkcpmzyefzkwamdzc"),
	// 				IPAddress: to.Ptr("gbfkdhloyphnpnhemwrcrxlk"),
	// 				CustomerIndex: to.Ptr("vafvezmelfgmjsrccjukrhppljvipg"),
	// 				CacheNodeID: to.Ptr("fmrjefyddfn"),
	// 				CacheNodeName: to.Ptr("qppvqxliajjfoalzjbgmxggr"),
	// 				CustomerAsn: to.Ptr[int32](25),
	// 				IsEnabled: to.Ptr(true),
	// 				MaxAllowableEgressInMbps: to.Ptr[int32](27),
	// 				MaxAllowableProbability: to.Ptr[float32](12),
	// 				XCid: to.Ptr("ooyrhuockukmsrqsevwaaqglhf"),
	// 				IsEnterpriseManaged: to.Ptr(true),
	// 				DeleteAsyncOperationID: to.Ptr("tvmivvnpisuboggoqgbobugld"),
	// 				ClientTenantID: to.Ptr("iwrpakllacxvtqygpaimlpxvqrjz"),
	// 				Category: to.Ptr("utfjefejkrpxcmrgygzawa"),
	// 				ReleaseVersion: to.Ptr[int32](29),
	// 				LastSyncWithAzureTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.777Z"); return t}()),
	// 				SynchWithAzureAttemptsCount: to.Ptr[int32](4),
	// 				ContainerConfigurations: to.Ptr("dyvefvbvrtsmdrdmiuphzh"),
	// 				CidrCSV: []*string{
	// 					to.Ptr("nlqlvrthafvvljuupcbcw"),
	// 				},
	// 				CidrCSVLastUpdateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpCidrCSVLastUpdateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpLastReportedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpReviewStateText: to.Ptr("khtriksrqrjieouoz"),
	// 				BgpReviewState: to.Ptr(armconnectedcache.BgpReviewStateEnumNotConfigured),
	// 				BgpReviewFeedback: to.Ptr("bc"),
	// 				BgpNumberOfTimesUpdated: to.Ptr[int32](23),
	// 				BgpNumberOfRecords: to.Ptr[int32](25),
	// 				BgpCidrBlocksCount: to.Ptr[int32](28),
	// 				BgpAddressSpace: to.Ptr[int32](30),
	// 				ShouldMigrate: to.Ptr(true),
	// 				BgpFileBytesTruncated: to.Ptr[int32](26),
	// 				CidrSelectionType: to.Ptr[int32](11),
	// 				IsFrozen: to.Ptr(true),
	// 				ReviewState: to.Ptr[int32](2),
	// 				ReviewStateText: to.Ptr("xubwhyrdtramrmoldbxqwauyusymqu"),
	// 				ReviewFeedback: to.Ptr("zowuztcnybt"),
	// 				ConfigurationState: to.Ptr(armconnectedcache.ConfigurationStateConfigured),
	// 				ConfigurationStateText: to.Ptr("okbofqwtzcsju"),
	// 				AddressSpace: to.Ptr[int32](1),
	// 				WorkerConnections: to.Ptr[int32](19),
	// 				WorkerConnectionsLastUpdatedDateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				ContainerResyncTrigger: to.Ptr[int32](23),
	// 				ImageURI: to.Ptr("wkowdrixfxvjmdcsy"),
	// 			},
	// 			StatusCode: to.Ptr("1"),
	// 			StatusText: to.Ptr("Success"),
	// 			StatusDetails: to.Ptr("lgljxmyyoakw"),
	// 			AdditionalCacheNodeProperties: &armconnectedcache.AdditionalCacheNodeProperties{
	// 				CacheNodePropertiesDetailsIssuesList: []*string{
	// 					to.Ptr("ennbzfpuszgalzpawmwicaofqcwcj"),
	// 				},
	// 				AggregatedStatusDetails: to.Ptr("nztcstlyjhmllbnrrluhzusmoa"),
	// 				AggregatedStatusText: to.Ptr("ofiedyvzpbijnfghnrrigqaws"),
	// 				AggregatedStatusCode: to.Ptr[int32](25),
	// 				ProductVersion: to.Ptr("hfbuukpxoerpkziym"),
	// 				IsProvisioned: to.Ptr(true),
	// 				CacheNodeStateDetailedText: to.Ptr("onckp"),
	// 				CacheNodeStateShortText: to.Ptr("yxkwlubqlzhkmemzjzlxksho"),
	// 				CacheNodeState: to.Ptr[int32](30),
	// 				DriveConfiguration: []*armconnectedcache.CacheNodeDriveConfiguration{
	// 					{
	// 						PhysicalPath: to.Ptr("pcbkezoofhamkycot"),
	// 						SizeInGb: to.Ptr[int32](14),
	// 						CacheNumber: to.Ptr[int32](11),
	// 						NginxMapping: to.Ptr("cirlpkpuxg"),
	// 					},
	// 				},
	// 				BgpConfiguration: &armconnectedcache.BgpConfiguration{
	// 					AsnToIPAddressMapping: to.Ptr("fjbggfvumrn"),
	// 				},
	// 				ProxyURLConfiguration: &armconnectedcache.ProxyURLConfiguration{
	// 					ProxyURL: to.Ptr("hplstyg"),
	// 				},
	// 				OptionalProperty1: to.Ptr("ph"),
	// 				OptionalProperty2: to.Ptr("soqqgpgcbhb"),
	// 				OptionalProperty3: to.Ptr("fpnycrbagptsujiotnjfuhlm"),
	// 				OptionalProperty4: to.Ptr("gesqugrxvhxlxxyvatgrautxwlmxsf"),
	// 				OptionalProperty5: to.Ptr("zknjgzpaqtvdqjydd"),
	// 			},
	// 			Status: to.Ptr("utgrdjsw"),
	// 			Error: &armconnectedcache.ErrorDetail{
	// 				Code: to.Ptr("dkvgvtftpsjsbhlnapvihefxneoggs"),
	// 				Message: to.Ptr("okakgyfnmyob"),
	// 				Details: []*armconnectedcache.ErrorDetail{
	// 				},
	// 			},
	// 		},
	// 		Tags: map[string]*string{
	// 			"key259": to.Ptr("qbkixjuyjkoj"),
	// 		},
	// 		SystemData: &armconnectedcache.SystemData{
	// 			CreatedBy: to.Ptr("gambtqj"),
	// 			CreatedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 			LastModifiedBy: to.Ptr("qomgaceiessgnuogz"),
	// 			LastModifiedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 		},
	// 	},
	// }
}

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_Delete_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_BeginDelete() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().BeginDelete(ctx, "rgConnectedCache", "hsincngmssuzeyispnufqwinpopadvhsbsemisguxgovwdjwviqexocelijvuyr", "vwtrhdoxvkrunpliwcao", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to poll the result: %v", err)
	}
}

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_Get_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_Get() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().Get(ctx, "rgConnectedCache", "cygqjgtcetihsajgyqwwrbclssqsvhgltrboemcqqtpoxdbhykqxblaihmrumyhbsx", "fqxfadsultwjfzdwlqkvneakfsbyhratytmssmiukpbnus", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res = armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetResponse{
	// 	EnterpriseMccCacheNodeResource: armconnectedcache.EnterpriseMccCacheNodeResource{
	// 		ID: to.Ptr("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DOTest/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1"),
	// 		Name: to.Ptr("MccRPTest1"),
	// 		Type: to.Ptr("Microsoft.ConnectedCache/enterpriseMccCustomers/enterpriseMccCacheNodes"),
	// 		Location: to.Ptr("westus"),
	// 		Properties: &armconnectedcache.CacheNodeProperty{
	// 			ProvisioningState: to.Ptr(armconnectedcache.ProvisioningStateSucceeded),
	// 			CacheNode: &armconnectedcache.CacheNodeEntity{
	// 				FullyQualifiedResourceID: to.Ptr("yeinlleavzbehelhsucb"),
	// 				CustomerID: to.Ptr("xjjgcknmsakfawcmwbdufdxktysp"),
	// 				CustomerName: to.Ptr("zsklcocjfjhkcpmzyefzkwamdzc"),
	// 				IPAddress: to.Ptr("gbfkdhloyphnpnhemwrcrxlk"),
	// 				CustomerIndex: to.Ptr("vafvezmelfgmjsrccjukrhppljvipg"),
	// 				CacheNodeID: to.Ptr("fmrjefyddfn"),
	// 				CacheNodeName: to.Ptr("qppvqxliajjfoalzjbgmxggr"),
	// 				CustomerAsn: to.Ptr[int32](25),
	// 				IsEnabled: to.Ptr(true),
	// 				MaxAllowableEgressInMbps: to.Ptr[int32](27),
	// 				MaxAllowableProbability: to.Ptr[float32](12),
	// 				XCid: to.Ptr("ooyrhuockukmsrqsevwaaqglhf"),
	// 				IsEnterpriseManaged: to.Ptr(true),
	// 				DeleteAsyncOperationID: to.Ptr("tvmivvnpisuboggoqgbobugld"),
	// 				ClientTenantID: to.Ptr("iwrpakllacxvtqygpaimlpxvqrjz"),
	// 				Category: to.Ptr("utfjefejkrpxcmrgygzawa"),
	// 				ReleaseVersion: to.Ptr[int32](29),
	// 				LastSyncWithAzureTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.777Z"); return t}()),
	// 				SynchWithAzureAttemptsCount: to.Ptr[int32](4),
	// 				ContainerConfigurations: to.Ptr("dyvefvbvrtsmdrdmiuphzh"),
	// 				CidrCSV: []*string{
	// 					to.Ptr("kaynxstxqsoreorwh"),
	// 				},
	// 				CidrCSVLastUpdateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpCidrCSVLastUpdateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpLastReportedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpReviewStateText: to.Ptr("khtriksrqrjieouoz"),
	// 				BgpReviewState: to.Ptr(armconnectedcache.BgpReviewStateEnumNotConfigured),
	// 				BgpReviewFeedback: to.Ptr("bc"),
	// 				BgpNumberOfTimesUpdated: to.Ptr[int32](23),
	// 				BgpNumberOfRecords: to.Ptr[int32](25),
	// 				BgpCidrBlocksCount: to.Ptr[int32](28),
	// 				BgpAddressSpace: to.Ptr[int32](30),
	// 				ShouldMigrate: to.Ptr(true),
	// 				BgpFileBytesTruncated: to.Ptr[int32](26),
	// 				CidrSelectionType: to.Ptr[int32](11),
	// 				IsFrozen: to.Ptr(true),
	// 				ReviewState: to.Ptr[int32](2),
	// 				ReviewStateText: to.Ptr("xubwhyrdtramrmoldbxqwauyusymqu"),
	// 				ReviewFeedback: to.Ptr("zowuztcnybt"),
	// 				ConfigurationState: to.Ptr(armconnectedcache.ConfigurationStateConfigured),
	// 				ConfigurationStateText: to.Ptr("okbofqwtzcsju"),
	// 				AddressSpace: to.Ptr[int32](1),
	// 				WorkerConnections: to.Ptr[int32](19),
	// 				WorkerConnectionsLastUpdatedDateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				ContainerResyncTrigger: to.Ptr[int32](23),
	// 				ImageURI: to.Ptr("wkowdrixfxvjmdcsy"),
	// 			},
	// 			StatusCode: to.Ptr("1"),
	// 			StatusText: to.Ptr("Success"),
	// 			StatusDetails: to.Ptr("lgljxmyyoakw"),
	// 			AdditionalCacheNodeProperties: &armconnectedcache.AdditionalCacheNodeProperties{
	// 				CacheNodePropertiesDetailsIssuesList: []*string{
	// 					to.Ptr("ennbzfpuszgalzpawmwicaofqcwcj"),
	// 				},
	// 				AggregatedStatusDetails: to.Ptr("nztcstlyjhmllbnrrluhzusmoa"),
	// 				AggregatedStatusText: to.Ptr("ofiedyvzpbijnfghnrrigqaws"),
	// 				AggregatedStatusCode: to.Ptr[int32](25),
	// 				ProductVersion: to.Ptr("hfbuukpxoerpkziym"),
	// 				IsProvisioned: to.Ptr(true),
	// 				CacheNodeStateDetailedText: to.Ptr("onckp"),
	// 				CacheNodeStateShortText: to.Ptr("yxkwlubqlzhkmemzjzlxksho"),
	// 				CacheNodeState: to.Ptr[int32](30),
	// 				DriveConfiguration: []*armconnectedcache.CacheNodeDriveConfiguration{
	// 					{
	// 						PhysicalPath: to.Ptr("pcbkezoofhamkycot"),
	// 						SizeInGb: to.Ptr[int32](14),
	// 						CacheNumber: to.Ptr[int32](11),
	// 						NginxMapping: to.Ptr("cirlpkpuxg"),
	// 					},
	// 				},
	// 				BgpConfiguration: &armconnectedcache.BgpConfiguration{
	// 					AsnToIPAddressMapping: to.Ptr("fjbggfvumrn"),
	// 				},
	// 				ProxyURLConfiguration: &armconnectedcache.ProxyURLConfiguration{
	// 					ProxyURL: to.Ptr("hplstyg"),
	// 				},
	// 				OptionalProperty1: to.Ptr("ph"),
	// 				OptionalProperty2: to.Ptr("soqqgpgcbhb"),
	// 				OptionalProperty3: to.Ptr("fpnycrbagptsujiotnjfuhlm"),
	// 				OptionalProperty4: to.Ptr("gesqugrxvhxlxxyvatgrautxwlmxsf"),
	// 				OptionalProperty5: to.Ptr("zknjgzpaqtvdqjydd"),
	// 			},
	// 			Status: to.Ptr("utgrdjsw"),
	// 			Error: &armconnectedcache.ErrorDetail{
	// 				Code: to.Ptr("dkvgvtftpsjsbhlnapvihefxneoggs"),
	// 				Message: to.Ptr("okakgyfnmyob"),
	// 				Details: []*armconnectedcache.ErrorDetail{
	// 				},
	// 			},
	// 		},
	// 		Tags: map[string]*string{
	// 			"key259": to.Ptr("qbkixjuyjkoj"),
	// 		},
	// 		SystemData: &armconnectedcache.SystemData{
	// 			CreatedBy: to.Ptr("gambtqj"),
	// 			CreatedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 			LastModifiedBy: to.Ptr("qomgaceiessgnuogz"),
	// 			LastModifiedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 		},
	// 	},
	// }
}

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_GetCacheNodeAutoUpdateHistory_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_GetCacheNodeAutoUpdateHistory() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().GetCacheNodeAutoUpdateHistory(ctx, "rgConnectedCache", "MccRPTest1", "MCCCachenode1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res = armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetCacheNodeAutoUpdateHistoryResponse{
	// 	MccCacheNodeAutoUpdateHistory: armconnectedcache.MccCacheNodeAutoUpdateHistory{
	// 		Properties: &armconnectedcache.MccCacheNodeAutoUpdateHistoryProperties{
	// 			CustomerID: to.Ptr("fqyulypmqacwoifqnddnkcexbgm"),
	// 			CacheNodeID: to.Ptr("elwtomk"),
	// 			AutoUpdateHistory: []*armconnectedcache.MccCacheNodeAutoUpdateInfo{
	// 				{
	// 					ImageURIBeforeUpdate: to.Ptr("ne"),
	// 					ImageURITargeted: to.Ptr("zqgjxlqoucwyjf"),
	// 					ImageURITerminal: to.Ptr("akng"),
	// 					AutoUpdateRingType: to.Ptr[int32](16),
	// 					MovedToTerminalStateDateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-08T07:01:45.657Z"); return t}()),
	// 					RuleRequestedWeek: to.Ptr[int32](1),
	// 					RuleRequestedDay: to.Ptr[int32](9),
	// 					CreatedDateTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-08T07:01:45.657Z"); return t}()),
	// 					UpdatedRegistryDateTimeUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-08T07:01:45.657Z"); return t}()),
	// 					PlanChangeLogText: to.Ptr("uhfsokrwx"),
	// 					AutoUpdateLastAppliedStatus: to.Ptr[int32](24),
	// 					AutoUpdateLastAppliedStatusText: to.Ptr("cwoy"),
	// 					AutoUpdateLastAppliedStatusDetailedText: to.Ptr("oicfonhqlnrc"),
	// 					PlanID: to.Ptr[int64](17),
	// 					TimeToGoLiveDateTime: to.Ptr("wqhjexgtkqzu"),
	// 					RuleRequestedMinute: to.Ptr("ewoqhdmofybbpf"),
	// 					RuleRequestedHour: to.Ptr("degiarxknlfqfgwz"),
	// 				},
	// 			},
	// 		},
	// 		Tags: map[string]*string{
	// 			"key5753": to.Ptr("ubrjiectme"),
	// 		},
	// 		Location: to.Ptr("westus"),
	// 		ID: to.Ptr("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DOTest/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1"),
	// 		Name: to.Ptr("cgy"),
	// 		Type: to.Ptr("kqbnkmxgllkdxfnsogmmdogjtotj"),
	// 		SystemData: &armconnectedcache.SystemData{
	// 			CreatedBy: to.Ptr("gambtqj"),
	// 			CreatedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 			LastModifiedBy: to.Ptr("qomgaceiessgnuogz"),
	// 			LastModifiedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 		},
	// 	},
	// }
}

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_GetCacheNodeInstallDetails_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_GetCacheNodeInstallDetails() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().GetCacheNodeInstallDetails(ctx, "rgConnectedCache", "fzwxcjmdpxxzayecabqqlh", "ccexmqqttritxvtctivraso", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res = armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetCacheNodeInstallDetailsResponse{
	// 	MccCacheNodeInstallDetails: armconnectedcache.MccCacheNodeInstallDetails{
	// 		Location: to.Ptr("westus"),
	// 		ID: to.Ptr("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/rgConnectedCache/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1"),
	// 		Type: to.Ptr("Microsoft.ConnectedCache/enterpriseMccCustomers/enterpriseMccCacheNodes"),
	// 		Properties: &armconnectedcache.CacheNodeInstallProperties{
	// 			CustomerID: to.Ptr("eqklliuswn"),
	// 			CacheNodeID: to.Ptr("zirahqqohbaju"),
	// 			PrimaryAccountKey: to.Ptr("mzfvziehrsbxidhj"),
	// 			SecondaryAccountKey: to.Ptr("dq"),
	// 			RegistrationKey: to.Ptr("tnwkmorctwsgajewcoutombm"),
	// 		},
	// 		Tags: map[string]*string{
	// 			"key5811": to.Ptr("betoafcoprgfcuscoew"),
	// 		},
	// 		SystemData: &armconnectedcache.SystemData{
	// 			CreatedBy: to.Ptr("gambtqj"),
	// 			CreatedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 			LastModifiedBy: to.Ptr("qomgaceiessgnuogz"),
	// 			LastModifiedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 		},
	// 	},
	// }
}

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_GetCacheNodeMccIssueDetailsHistory_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_GetCacheNodeMccIssueDetailsHistory() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().GetCacheNodeMccIssueDetailsHistory(ctx, "rgConnectedCache", "MccRPTest1", "MCCCachenode1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res = armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetCacheNodeMccIssueDetailsHistoryResponse{
	// 	MccCacheNodeIssueHistory: armconnectedcache.MccCacheNodeIssueHistory{
	// 		Properties: &armconnectedcache.MccCacheNodeIssueHistoryProperties{
	// 			CustomerID: to.Ptr("xqsblxpzcdxwwlzejepoyqrhbrpqgz"),
	// 			CacheNodeID: to.Ptr("enw"),
	// 			MccIssueHistory: []*armconnectedcache.MccIssue{
	// 				{
	// 					MccIssueType: to.Ptr("uznqingg"),
	// 					ToastString: to.Ptr("tkaajhrpptywiwfjnh"),
	// 					DetailString: to.Ptr("rziwfs"),
	// 					HelpLink: to.Ptr("fd"),
	// 					IssueStartDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-08T07:01:40.167Z"); return t}()),
	// 					IssueEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-08T07:01:40.167Z"); return t}()),
	// 				},
	// 			},
	// 		},
	// 		Tags: map[string]*string{
	// 			"key587": to.Ptr("tcgetdmzjjwtbvghsskfzzrmnrexgx"),
	// 		},
	// 		Location: to.Ptr("msgrhbbqoannzbfuplaxnl"),
	// 		ID: to.Ptr("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DOTest/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1"),
	// 		Name: to.Ptr("fizavvfblaoosm"),
	// 		Type: to.Ptr("bkkjnjpkvvlnrcfurjsfdspsnoozu"),
	// 		SystemData: &armconnectedcache.SystemData{
	// 			CreatedBy: to.Ptr("gambtqj"),
	// 			CreatedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 			LastModifiedBy: to.Ptr("qomgaceiessgnuogz"),
	// 			LastModifiedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 		},
	// 	},
	// }
}

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_GetCacheNodeTlsCertificateHistory_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_GetCacheNodeTLSCertificateHistory() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().GetCacheNodeTLSCertificateHistory(ctx, "rgConnectedCache", "MccRPTest1", "MCCCachenode1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res = armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetCacheNodeTLSCertificateHistoryResponse{
	// 	MccCacheNodeTLSCertificateHistory: armconnectedcache.MccCacheNodeTLSCertificateHistory{
	// 		Properties: &armconnectedcache.MccCacheNodeTLSCertificateProperties{
	// 			CustomerID: to.Ptr("hzqoghvbmzvdk"),
	// 			CacheNodeID: to.Ptr("bzbrwogbsuat"),
	// 			TLSCertificateHistory: []*armconnectedcache.MccCacheNodeTLSCertificate{
	// 				{
	// 					ActionRequired: to.Ptr("iwvzhqdwdjhvpqfbwovc"),
	// 					CertificateFileName: to.Ptr("mi"),
	// 					Thumbprint: to.Ptr("bzztaqiu"),
	// 					ExpiryDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-08T07:01:46.556Z"); return t}()),
	// 					NotBeforeDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-04-08T07:01:46.556Z"); return t}()),
	// 					Subject: to.Ptr("vdabg"),
	// 					SubjectAltName: to.Ptr("sbfyvvyylwjamhjubjjsmypwe"),
	// 				},
	// 			},
	// 		},
	// 		Tags: map[string]*string{
	// 			"key6995": to.Ptr("xuobdofbhsuhqzxpwzlacrxbkcgydn"),
	// 		},
	// 		Location: to.Ptr("dwqjj"),
	// 		ID: to.Ptr("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DOTest/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1"),
	// 		Name: to.Ptr("zvazurbeqjdbfs"),
	// 		Type: to.Ptr("jxnyhcvyyjvkxddgymvlwvwqtewg"),
	// 		SystemData: &armconnectedcache.SystemData{
	// 			CreatedBy: to.Ptr("gambtqj"),
	// 			CreatedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 			LastModifiedBy: to.Ptr("qomgaceiessgnuogz"),
	// 			LastModifiedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 		},
	// 	},
	// }
}

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_ListByEnterpriseMccCustomerResource_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_NewListByEnterpriseMccCustomerResourcePager() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().NewListByEnterpriseMccCustomerResourcePager("rgConnectedCache", "syjjjzk", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page = armconnectedcache.EnterpriseMccCacheNodesOperationsClientListByEnterpriseMccCustomerResourceResponse{
		// 	EnterpriseMccCacheNodeResourceListResult: armconnectedcache.EnterpriseMccCacheNodeResourceListResult{
		// 		Value: []*armconnectedcache.EnterpriseMccCacheNodeResource{
		// 			{
		// 				ID: to.Ptr("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/rgConnectedCache/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1"),
		// 				Name: to.Ptr("MccRPTest1"),
		// 				Type: to.Ptr("Microsoft.ConnectedCache/enterpriseMccCustomers/enterpriseMccCacheNodes"),
		// 				Location: to.Ptr("westus"),
		// 				Properties: &armconnectedcache.CacheNodeProperty{
		// 					ProvisioningState: to.Ptr(armconnectedcache.ProvisioningStateSucceeded),
		// 					CacheNode: &armconnectedcache.CacheNodeEntity{
		// 						FullyQualifiedResourceID: to.Ptr("yeinlleavzbehelhsucb"),
		// 						CustomerID: to.Ptr("xjjgcknmsakfawcmwbdufdxktysp"),
		// 						CustomerName: to.Ptr("zsklcocjfjhkcpmzyefzkwamdzc"),
		// 						IPAddress: to.Ptr("gbfkdhloyphnpnhemwrcrxlk"),
		// 						CustomerIndex: to.Ptr("vafvezmelfgmjsrccjukrhppljvipg"),
		// 						CacheNodeID: to.Ptr("fmrjefyddfn"),
		// 						CacheNodeName: to.Ptr("qppvqxliajjfoalzjbgmxggr"),
		// 						CustomerAsn: to.Ptr[int32](25),
		// 						IsEnabled: to.Ptr(true),
		// 						MaxAllowableEgressInMbps: to.Ptr[int32](27),
		// 						MaxAllowableProbability: to.Ptr[float32](12),
		// 						XCid: to.Ptr("ooyrhuockukmsrqsevwaaqglhf"),
		// 						IsEnterpriseManaged: to.Ptr(true),
		// 						DeleteAsyncOperationID: to.Ptr("tvmivvnpisuboggoqgbobugld"),
		// 						ClientTenantID: to.Ptr("iwrpakllacxvtqygpaimlpxvqrjz"),
		// 						Category: to.Ptr("utfjefejkrpxcmrgygzawa"),
		// 						ReleaseVersion: to.Ptr[int32](29),
		// 						LastSyncWithAzureTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.777Z"); return t}()),
		// 						SynchWithAzureAttemptsCount: to.Ptr[int32](4),
		// 						ContainerConfigurations: to.Ptr("dyvefvbvrtsmdrdmiuphzh"),
		// 						CidrCSV: []*string{
		// 							to.Ptr("kaynxstxqsoreorwh"),
		// 						},
		// 						CidrCSVLastUpdateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
		// 						BgpCidrCSVLastUpdateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
		// 						BgpLastReportedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
		// 						BgpReviewStateText: to.Ptr("khtriksrqrjieouoz"),
		// 						BgpReviewState: to.Ptr(armconnectedcache.BgpReviewStateEnumNotConfigured),
		// 						BgpReviewFeedback: to.Ptr("bc"),
		// 						BgpNumberOfTimesUpdated: to.Ptr[int32](23),
		// 						BgpNumberOfRecords: to.Ptr[int32](25),
		// 						BgpCidrBlocksCount: to.Ptr[int32](28),
		// 						BgpAddressSpace: to.Ptr[int32](30),
		// 						ShouldMigrate: to.Ptr(true),
		// 						BgpFileBytesTruncated: to.Ptr[int32](26),
		// 						CidrSelectionType: to.Ptr[int32](11),
		// 						IsFrozen: to.Ptr(true),
		// 						ReviewState: to.Ptr[int32](2),
		// 						ReviewStateText: to.Ptr("xubwhyrdtramrmoldbxqwauyusymqu"),
		// 						ReviewFeedback: to.Ptr("zowuztcnybt"),
		// 						ConfigurationState: to.Ptr(armconnectedcache.ConfigurationStateConfigured),
		// 						ConfigurationStateText: to.Ptr("okbofqwtzcsju"),
		// 						AddressSpace: to.Ptr[int32](1),
		// 						WorkerConnections: to.Ptr[int32](19),
		// 						WorkerConnectionsLastUpdatedDateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
		// 						ContainerResyncTrigger: to.Ptr[int32](23),
		// 						ImageURI: to.Ptr("wkowdrixfxvjmdcsy"),
		// 					},
		// 					StatusCode: to.Ptr("1"),
		// 					StatusText: to.Ptr("Success"),
		// 					StatusDetails: to.Ptr("lgljxmyyoakw"),
		// 					AdditionalCacheNodeProperties: &armconnectedcache.AdditionalCacheNodeProperties{
		// 						CacheNodePropertiesDetailsIssuesList: []*string{
		// 							to.Ptr("ennbzfpuszgalzpawmwicaofqcwcj"),
		// 						},
		// 						AggregatedStatusDetails: to.Ptr("nztcstlyjhmllbnrrluhzusmoa"),
		// 						AggregatedStatusText: to.Ptr("ofiedyvzpbijnfghnrrigqaws"),
		// 						AggregatedStatusCode: to.Ptr[int32](25),
		// 						ProductVersion: to.Ptr("hfbuukpxoerpkziym"),
		// 						IsProvisioned: to.Ptr(true),
		// 						CacheNodeStateDetailedText: to.Ptr("onckp"),
		// 						CacheNodeStateShortText: to.Ptr("yxkwlubqlzhkmemzjzlxksho"),
		// 						CacheNodeState: to.Ptr[int32](30),
		// 						DriveConfiguration: []*armconnectedcache.CacheNodeDriveConfiguration{
		// 							{
		// 								PhysicalPath: to.Ptr("pcbkezoofhamkycot"),
		// 								SizeInGb: to.Ptr[int32](14),
		// 								CacheNumber: to.Ptr[int32](11),
		// 								NginxMapping: to.Ptr("cirlpkpuxg"),
		// 							},
		// 						},
		// 						BgpConfiguration: &armconnectedcache.BgpConfiguration{
		// 							AsnToIPAddressMapping: to.Ptr("fjbggfvumrn"),
		// 						},
		// 						ProxyURLConfiguration: &armconnectedcache.ProxyURLConfiguration{
		// 							ProxyURL: to.Ptr("hplstyg"),
		// 						},
		// 						OptionalProperty1: to.Ptr("ph"),
		// 						OptionalProperty2: to.Ptr("soqqgpgcbhb"),
		// 						OptionalProperty3: to.Ptr("fpnycrbagptsujiotnjfuhlm"),
		// 						OptionalProperty4: to.Ptr("gesqugrxvhxlxxyvatgrautxwlmxsf"),
		// 						OptionalProperty5: to.Ptr("zknjgzpaqtvdqjydd"),
		// 					},
		// 					Status: to.Ptr("utgrdjsw"),
		// 					Error: &armconnectedcache.ErrorDetail{
		// 						Code: to.Ptr("dkvgvtftpsjsbhlnapvihefxneoggs"),
		// 						Message: to.Ptr("okakgyfnmyob"),
		// 						Details: []*armconnectedcache.ErrorDetail{
		// 						},
		// 					},
		// 				},
		// 				Tags: map[string]*string{
		// 					"key259": to.Ptr("qbkixjuyjkoj"),
		// 				},
		// 				SystemData: &armconnectedcache.SystemData{
		// 					CreatedBy: to.Ptr("gambtqj"),
		// 					CreatedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
		// 					CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
		// 					LastModifiedBy: to.Ptr("qomgaceiessgnuogz"),
		// 					LastModifiedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
		// 					LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
		// 				},
		// 			},
		// 		},
		// 		NextLink: to.Ptr("https://microsoft.com/a"),
		// 	},
		// }
	}
}

// Generated from example definition: 2026-06-01/EnterpriseMccCacheNodesOperations_Update_MaximumSet_Gen.json
func ExampleEnterpriseMccCacheNodesOperationsClient_Update() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armconnectedcache.NewClientFactory("12345678-1234-1234-1234-123456789098", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEnterpriseMccCacheNodesOperationsClient().Update(ctx, "rgConnectedCache", "qanjqtvrxzjkljdysdjvdiqcxkttskpdzykzuefhbhz", "kllmlvazrcxmfjfozulzqnsgvspgwmhogcafvauchunlgfr", armconnectedcache.PatchResource{
		Tags: map[string]*string{
			"key1653": to.Ptr("nzjczrhclhkndesgy"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res = armconnectedcache.EnterpriseMccCacheNodesOperationsClientUpdateResponse{
	// 	EnterpriseMccCacheNodeResource: armconnectedcache.EnterpriseMccCacheNodeResource{
	// 		ID: to.Ptr("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/rgConnectedCache/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1"),
	// 		Name: to.Ptr("MccRPTest1"),
	// 		Type: to.Ptr("Microsoft.ConnectedCache/enterpriseMccCustomers/enterpriseMccCacheNodes"),
	// 		Location: to.Ptr("westus"),
	// 		Properties: &armconnectedcache.CacheNodeProperty{
	// 			ProvisioningState: to.Ptr(armconnectedcache.ProvisioningStateSucceeded),
	// 			CacheNode: &armconnectedcache.CacheNodeEntity{
	// 				FullyQualifiedResourceID: to.Ptr("yeinlleavzbehelhsucb"),
	// 				CustomerID: to.Ptr("xjjgcknmsakfawcmwbdufdxktysp"),
	// 				CustomerName: to.Ptr("zsklcocjfjhkcpmzyefzkwamdzc"),
	// 				IPAddress: to.Ptr("gbfkdhloyphnpnhemwrcrxlk"),
	// 				CustomerIndex: to.Ptr("vafvezmelfgmjsrccjukrhppljvipg"),
	// 				CacheNodeID: to.Ptr("fmrjefyddfn"),
	// 				CacheNodeName: to.Ptr("qppvqxliajjfoalzjbgmxggr"),
	// 				CustomerAsn: to.Ptr[int32](25),
	// 				IsEnabled: to.Ptr(true),
	// 				MaxAllowableEgressInMbps: to.Ptr[int32](27),
	// 				MaxAllowableProbability: to.Ptr[float32](12),
	// 				XCid: to.Ptr("ooyrhuockukmsrqsevwaaqglhf"),
	// 				IsEnterpriseManaged: to.Ptr(true),
	// 				DeleteAsyncOperationID: to.Ptr("tvmivvnpisuboggoqgbobugld"),
	// 				ClientTenantID: to.Ptr("iwrpakllacxvtqygpaimlpxvqrjz"),
	// 				Category: to.Ptr("utfjefejkrpxcmrgygzawa"),
	// 				ReleaseVersion: to.Ptr[int32](29),
	// 				LastSyncWithAzureTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.777Z"); return t}()),
	// 				SynchWithAzureAttemptsCount: to.Ptr[int32](4),
	// 				ContainerConfigurations: to.Ptr("dyvefvbvrtsmdrdmiuphzh"),
	// 				CidrCSV: []*string{
	// 					to.Ptr("kaynxstxqsoreorwh"),
	// 				},
	// 				CidrCSVLastUpdateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpCidrCSVLastUpdateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpLastReportedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				BgpReviewStateText: to.Ptr("khtriksrqrjieouoz"),
	// 				BgpReviewState: to.Ptr(armconnectedcache.BgpReviewStateEnumNotConfigured),
	// 				BgpReviewFeedback: to.Ptr("bc"),
	// 				BgpNumberOfTimesUpdated: to.Ptr[int32](23),
	// 				BgpNumberOfRecords: to.Ptr[int32](25),
	// 				BgpCidrBlocksCount: to.Ptr[int32](28),
	// 				BgpAddressSpace: to.Ptr[int32](30),
	// 				ShouldMigrate: to.Ptr(true),
	// 				BgpFileBytesTruncated: to.Ptr[int32](26),
	// 				CidrSelectionType: to.Ptr[int32](11),
	// 				IsFrozen: to.Ptr(true),
	// 				ReviewState: to.Ptr[int32](2),
	// 				ReviewStateText: to.Ptr("xubwhyrdtramrmoldbxqwauyusymqu"),
	// 				ReviewFeedback: to.Ptr("zowuztcnybt"),
	// 				ConfigurationState: to.Ptr(armconnectedcache.ConfigurationStateConfigured),
	// 				ConfigurationStateText: to.Ptr("okbofqwtzcsju"),
	// 				AddressSpace: to.Ptr[int32](1),
	// 				WorkerConnections: to.Ptr[int32](19),
	// 				WorkerConnectionsLastUpdatedDateTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.774Z"); return t}()),
	// 				ContainerResyncTrigger: to.Ptr[int32](23),
	// 				ImageURI: to.Ptr("wkowdrixfxvjmdcsy"),
	// 			},
	// 			StatusCode: to.Ptr("1"),
	// 			StatusText: to.Ptr("Success"),
	// 			StatusDetails: to.Ptr("lgljxmyyoakw"),
	// 			AdditionalCacheNodeProperties: &armconnectedcache.AdditionalCacheNodeProperties{
	// 				CacheNodePropertiesDetailsIssuesList: []*string{
	// 					to.Ptr("ennbzfpuszgalzpawmwicaofqcwcj"),
	// 				},
	// 				AggregatedStatusDetails: to.Ptr("nztcstlyjhmllbnrrluhzusmoa"),
	// 				AggregatedStatusText: to.Ptr("ofiedyvzpbijnfghnrrigqaws"),
	// 				AggregatedStatusCode: to.Ptr[int32](25),
	// 				ProductVersion: to.Ptr("hfbuukpxoerpkziym"),
	// 				IsProvisioned: to.Ptr(true),
	// 				CacheNodeStateDetailedText: to.Ptr("onckp"),
	// 				CacheNodeStateShortText: to.Ptr("yxkwlubqlzhkmemzjzlxksho"),
	// 				CacheNodeState: to.Ptr[int32](30),
	// 				DriveConfiguration: []*armconnectedcache.CacheNodeDriveConfiguration{
	// 					{
	// 						PhysicalPath: to.Ptr("pcbkezoofhamkycot"),
	// 						SizeInGb: to.Ptr[int32](14),
	// 						CacheNumber: to.Ptr[int32](11),
	// 						NginxMapping: to.Ptr("cirlpkpuxg"),
	// 					},
	// 				},
	// 				BgpConfiguration: &armconnectedcache.BgpConfiguration{
	// 					AsnToIPAddressMapping: to.Ptr("fjbggfvumrn"),
	// 				},
	// 				ProxyURLConfiguration: &armconnectedcache.ProxyURLConfiguration{
	// 					ProxyURL: to.Ptr("hplstyg"),
	// 				},
	// 				OptionalProperty1: to.Ptr("ph"),
	// 				OptionalProperty2: to.Ptr("soqqgpgcbhb"),
	// 				OptionalProperty3: to.Ptr("fpnycrbagptsujiotnjfuhlm"),
	// 				OptionalProperty4: to.Ptr("gesqugrxvhxlxxyvatgrautxwlmxsf"),
	// 				OptionalProperty5: to.Ptr("zknjgzpaqtvdqjydd"),
	// 			},
	// 			Status: to.Ptr("utgrdjsw"),
	// 			Error: &armconnectedcache.ErrorDetail{
	// 				Code: to.Ptr("dkvgvtftpsjsbhlnapvihefxneoggs"),
	// 				Message: to.Ptr("okakgyfnmyob"),
	// 			},
	// 		},
	// 		Tags: map[string]*string{
	// 			"key259": to.Ptr("qbkixjuyjkoj"),
	// 		},
	// 		SystemData: &armconnectedcache.SystemData{
	// 			CreatedBy: to.Ptr("gambtqj"),
	// 			CreatedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 			LastModifiedBy: to.Ptr("qomgaceiessgnuogz"),
	// 			LastModifiedByType: to.Ptr(armconnectedcache.CreatedByTypeUser),
	// 			LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-30T00:54:04.771Z"); return t}()),
	// 		},
	// 	},
	// }
}
