Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import "@azure-tools/typespec-azure-resource-manager";

using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;
using Azure.ResourceManager;

namespace Microsoft.ConnectedCache;

@removed(Versions.v2024_11_30_preview)
model CacheNodePreviewResource is TrackedResource<CacheNodeOldResponse> {
@doc("Name of the Customer resource")
@maxLength(90)
Expand All @@ -20,6 +22,7 @@ model CacheNodePreviewResource is TrackedResource<CacheNodeOldResponse> {
name: string;
}

@removed(Versions.v2024_11_30_preview)
@armResourceOperations
interface CacheNodesOperations {
@doc("Retrieves the properties of a cacheNodes")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import "./models.tsp";

using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;
using Azure.ResourceManager;

namespace Microsoft.ConnectedCache;

@removed(Versions.v2024_11_30_preview)
@doc("ConnectedCache Resource. Represents the high level Nodes needed to provision CacheNode and customer resources used in private preview")
model EnterprisePreviewResource is TrackedResource<CacheNodeOldResponse> {
@doc("Name of the Customer resource")
Expand All @@ -21,6 +23,7 @@ model EnterprisePreviewResource is TrackedResource<CacheNodeOldResponse> {
name: string;
}

@removed(Versions.v2024_11_30_preview)
@armResourceOperations
interface EnterpriseCustomerOperations {
@doc("Retrieves the properties of a Enterprise customer")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import "./enterpriseMccCustomers.tsp";
using TypeSpec.Rest;
using TypeSpec.Http;
using Azure.ResourceManager;
using TypeSpec.Versioning;

namespace Microsoft.ConnectedCache;

Expand Down Expand Up @@ -44,6 +45,27 @@ interface EnterpriseMccCacheNodesOperations {
void,
MccCacheNodeInstallDetails
>;
@added(Versions.v2024_11_30_preview)
@doc("This api gets ispCacheNode resource auto update histrory information")
getCacheNodeAutoUpdateHistory is ArmResourceActionSync<
EnterpriseMccCacheNodeResource,
void,
MccCacheNodeAutoUpdateHistory
>;
@added(Versions.v2024_11_30_preview)
@doc("This api gets ispCacheNode resource issues details histrory information")
getCacheNodeMccIssueDetailsHistory is ArmResourceActionSync<
EnterpriseMccCacheNodeResource,
void,
MccCacheNodeIssueHistory
>;
@added(Versions.v2024_11_30_preview)
@doc("This api gets ispCacheNode resource tls certificate histrory information")
getCacheNodeTlsCertificateHistory is ArmResourceActionSync<
EnterpriseMccCacheNodeResource,
void,
MccCacheNodeTlsCertificateHistory
>;
}

@@visibility(Azure.ResourceManager.TrackedResource.properties,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
{
"title": "Creates an enterpriseMccCacheNode resource - generated by [MaximumSet] rule",
"operationId": "EnterpriseMccCacheNodesOperations_CreateOrUpdate",
"parameters": {
"api-version": "2024-11-30-preview",
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "rgConnectedCache",
"customerResourceName": "nhdkvstdrrtsxxuz",
"cacheNodeResourceName": "fgduqdovidpemlnmhelomffuafdrbgaasqznvrdkbvspfzsnrhncdtqquhijhdpwyzwleukqldpceyxqhqlftqrr",
"resource": {
"location": "westus",
"properties": {
"cacheNode": {
"fullyQualifiedResourceId": "yeinlleavzbehelhsucb",
"customerName": "zsklcocjfjhkcpmzyefzkwamdzc",
"ipAddress": "gbfkdhloyphnpnhemwrcrxlk",
"customerIndex": "vafvezmelfgmjsrccjukrhppljvipg",
"cacheNodeId": "fmrjefyddfn",
"cacheNodeName": "qppvqxliajjfoalzjbgmxggr",
"customerAsn": 25,
"isEnabled": true,
"maxAllowableEgressInMbps": 27,
"isEnterpriseManaged": true,
"cidrCsv": [
"nlqlvrthafvvljuupcbcw"
],
"shouldMigrate": true,
"cidrSelectionType": 11
},
"statusCode": "1",
"statusText": "Success",
"statusDetails": "lgljxmyyoakw",
"additionalCacheNodeProperties": {
"cacheNodePropertiesDetailsIssuesList": [
"ennbzfpuszgalzpawmwicaofqcwcj"
],
"driveConfiguration": [
{
"physicalPath": "pcbkezoofhamkycot",
"sizeInGb": 14,
"cacheNumber": 11,
"nginxMapping": "cirlpkpuxg"
}
],
"bgpConfiguration": {
"asnToIpAddressMapping": "fjbggfvumrn"
},
"proxyUrlConfiguration": {
"proxyUrl": "hplstyg"
},
"optionalProperty1": "ph",
"optionalProperty2": "soqqgpgcbhb",
"optionalProperty3": "fpnycrbagptsujiotnjfuhlm",
"optionalProperty4": "gesqugrxvhxlxxyvatgrautxwlmxsf",
"optionalProperty5": "zknjgzpaqtvdqjydd"
},
"error": {}
},
"tags": {
"key259": "qbkixjuyjkoj"
}
}
},
"responses": {
"200": {
"body": {
"location": "westus",
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DOTest/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1",
"name": "MccRPTest1",
"type": "Microsoft.ConnectedCache/enterpriseMccCustomers/enterpriseMccCacheNodes",
"properties": {
"provisioningState": "Succeeded",
"cacheNode": {
"fullyQualifiedResourceId": "yeinlleavzbehelhsucb",
"customerId": "xjjgcknmsakfawcmwbdufdxktysp",
"customerName": "zsklcocjfjhkcpmzyefzkwamdzc",
"ipAddress": "gbfkdhloyphnpnhemwrcrxlk",
"customerIndex": "vafvezmelfgmjsrccjukrhppljvipg",
"cacheNodeId": "fmrjefyddfn",
"cacheNodeName": "qppvqxliajjfoalzjbgmxggr",
"customerAsn": 25,
"isEnabled": true,
"maxAllowableEgressInMbps": 27,
"maxAllowableProbability": 12,
"xCid": "ooyrhuockukmsrqsevwaaqglhf",
"isEnterpriseManaged": true,
"deleteAsyncOperationId": "tvmivvnpisuboggoqgbobugld",
"clientTenantId": "iwrpakllacxvtqygpaimlpxvqrjz",
"category": "utfjefejkrpxcmrgygzawa",
"releaseVersion": 29,
"lastSyncWithAzureTimestamp": "2024-01-30T00:54:04.777Z",
"synchWithAzureAttemptsCount": 4,
"containerConfigurations": "dyvefvbvrtsmdrdmiuphzh",
"cidrCsv": [
"nlqlvrthafvvljuupcbcw"
],
"cidrCsvLastUpdateTime": "2024-01-30T00:54:04.774Z",
"bgpCidrCsvLastUpdateTime": "2024-01-30T00:54:04.774Z",
"bgpLastReportedTime": "2024-01-30T00:54:04.774Z",
"bgpReviewStateText": "khtriksrqrjieouoz",
"bgpReviewState": "NotConfigured",
"bgpReviewFeedback": "bc",
"bgpNumberOfTimesUpdated": 23,
"bgpNumberOfRecords": 25,
"bgpCidrBlocksCount": 28,
"bgpAddressSpace": 30,
"shouldMigrate": true,
"bgpFileBytesTruncated": 26,
"cidrSelectionType": 11,
"isFrozen": true,
"reviewState": 2,
"reviewStateText": "xubwhyrdtramrmoldbxqwauyusymqu",
"reviewFeedback": "zowuztcnybt",
"configurationState": "Configured",
"configurationStateText": "okbofqwtzcsju",
"addressSpace": 1,
"workerConnections": 19,
"workerConnectionsLastUpdatedDateTime": "2024-01-30T00:54:04.774Z",
"containerResyncTrigger": 23,
"imageUri": "wkowdrixfxvjmdcsy"
},
"statusCode": "1",
"statusText": "Success",
"statusDetails": "lgljxmyyoakw",
"additionalCacheNodeProperties": {
"cacheNodePropertiesDetailsIssuesList": [
"ennbzfpuszgalzpawmwicaofqcwcj"
],
"aggregatedStatusDetails": "nztcstlyjhmllbnrrluhzusmoa",
"aggregatedStatusText": "ofiedyvzpbijnfghnrrigqaws",
"aggregatedStatusCode": 25,
"productVersion": "hfbuukpxoerpkziym",
"isProvisioned": true,
"cacheNodeStateDetailedText": "onckp",
"cacheNodeStateShortText": "yxkwlubqlzhkmemzjzlxksho",
"cacheNodeState": 30,
"driveConfiguration": [
{
"physicalPath": "pcbkezoofhamkycot",
"sizeInGb": 14,
"cacheNumber": 11,
"nginxMapping": "cirlpkpuxg"
}
],
"bgpConfiguration": {
"asnToIpAddressMapping": "fjbggfvumrn"
},
"proxyUrlConfiguration": {
"proxyUrl": "hplstyg"
},
"optionalProperty1": "ph",
"optionalProperty2": "soqqgpgcbhb",
"optionalProperty3": "fpnycrbagptsujiotnjfuhlm",
"optionalProperty4": "gesqugrxvhxlxxyvatgrautxwlmxsf",
"optionalProperty5": "zknjgzpaqtvdqjydd"
},
"status": "utgrdjsw",
"error": {
"code": "dkvgvtftpsjsbhlnapvihefxneoggs",
"message": "okakgyfnmyob",
"details": []
}
},
"tags": {
"key259": "qbkixjuyjkoj"
},
"systemData": {
"createdBy": "gambtqj",
"createdByType": "User",
"createdAt": "2024-01-30T00:54:04.771Z",
"lastModifiedBy": "qomgaceiessgnuogz",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-01-30T00:54:04.771Z"
}
}
},
"201": {
"headers": {
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
},
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DOTest/providers/Microsoft.ConnectedCache/enterpriseMccCustomers/MccRPTest1/enterpriseMccCacheNodes/MCCCachenode1",
"name": "MccRPTest1",
"type": "Microsoft.ConnectedCache/enterpriseMccCustomers/enterpriseMccCacheNodes",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"cacheNode": {
"fullyQualifiedResourceId": "yeinlleavzbehelhsucb",
"customerId": "xjjgcknmsakfawcmwbdufdxktysp",
"customerName": "zsklcocjfjhkcpmzyefzkwamdzc",
"ipAddress": "gbfkdhloyphnpnhemwrcrxlk",
"customerIndex": "vafvezmelfgmjsrccjukrhppljvipg",
"cacheNodeId": "fmrjefyddfn",
"cacheNodeName": "qppvqxliajjfoalzjbgmxggr",
"customerAsn": 25,
"isEnabled": true,
"maxAllowableEgressInMbps": 27,
"maxAllowableProbability": 12,
"xCid": "ooyrhuockukmsrqsevwaaqglhf",
"isEnterpriseManaged": true,
"deleteAsyncOperationId": "tvmivvnpisuboggoqgbobugld",
"clientTenantId": "iwrpakllacxvtqygpaimlpxvqrjz",
"category": "utfjefejkrpxcmrgygzawa",
"releaseVersion": 29,
"lastSyncWithAzureTimestamp": "2024-01-30T00:54:04.777Z",
"synchWithAzureAttemptsCount": 4,
"containerConfigurations": "dyvefvbvrtsmdrdmiuphzh",
"cidrCsv": [
"kaynxstxqsoreorwh"
],
"cidrCsvLastUpdateTime": "2024-01-30T00:54:04.774Z",
"bgpCidrCsvLastUpdateTime": "2024-01-30T00:54:04.774Z",
"bgpLastReportedTime": "2024-01-30T00:54:04.774Z",
"bgpReviewStateText": "khtriksrqrjieouoz",
"bgpReviewState": "NotConfigured",
"bgpReviewFeedback": "bc",
"bgpNumberOfTimesUpdated": 23,
"bgpNumberOfRecords": 25,
"bgpCidrBlocksCount": 28,
"bgpAddressSpace": 30,
"shouldMigrate": true,
"bgpFileBytesTruncated": 26,
"cidrSelectionType": 11,
"isFrozen": true,
"reviewState": 2,
"reviewStateText": "xubwhyrdtramrmoldbxqwauyusymqu",
"reviewFeedback": "zowuztcnybt",
"configurationState": "Configured",
"configurationStateText": "okbofqwtzcsju",
"addressSpace": 1,
"workerConnections": 19,
"workerConnectionsLastUpdatedDateTime": "2024-01-30T00:54:04.774Z",
"containerResyncTrigger": 23,
"imageUri": "wkowdrixfxvjmdcsy"
},
"statusCode": "1",
"statusText": "Success",
"statusDetails": "lgljxmyyoakw",
"additionalCacheNodeProperties": {
"cacheNodePropertiesDetailsIssuesList": [
"ennbzfpuszgalzpawmwicaofqcwcj"
],
"aggregatedStatusDetails": "nztcstlyjhmllbnrrluhzusmoa",
"aggregatedStatusText": "ofiedyvzpbijnfghnrrigqaws",
"aggregatedStatusCode": 25,
"productVersion": "hfbuukpxoerpkziym",
"isProvisioned": true,
"cacheNodeStateDetailedText": "onckp",
"cacheNodeStateShortText": "yxkwlubqlzhkmemzjzlxksho",
"cacheNodeState": 30,
"driveConfiguration": [
{
"physicalPath": "pcbkezoofhamkycot",
"sizeInGb": 14,
"cacheNumber": 11,
"nginxMapping": "cirlpkpuxg"
}
],
"bgpConfiguration": {
"asnToIpAddressMapping": "fjbggfvumrn"
},
"proxyUrlConfiguration": {
"proxyUrl": "hplstyg"
},
"optionalProperty1": "ph",
"optionalProperty2": "soqqgpgcbhb",
"optionalProperty3": "fpnycrbagptsujiotnjfuhlm",
"optionalProperty4": "gesqugrxvhxlxxyvatgrautxwlmxsf",
"optionalProperty5": "zknjgzpaqtvdqjydd"
},
"status": "utgrdjsw",
"error": {
"code": "dkvgvtftpsjsbhlnapvihefxneoggs",
"message": "okakgyfnmyob",
"details": []
}
},
"tags": {
"key259": "qbkixjuyjkoj"
},
"systemData": {
"createdBy": "gambtqj",
"createdByType": "User",
"createdAt": "2024-01-30T00:54:04.771Z",
"lastModifiedBy": "qomgaceiessgnuogz",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-01-30T00:54:04.771Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"title": "EnterpriseMccCacheNodesOperations Delete Operation - generated by [MaximumSet] rule",
"operationId": "EnterpriseMccCacheNodesOperations_Delete",
"parameters": {
"api-version": "2024-11-30-preview",
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "rgConnectedCache",
"customerResourceName": "hsincngmssuzeyispnufqwinpopadvhsbsemisguxgovwdjwviqexocelijvuyr",
"cacheNodeResourceName": "vwtrhdoxvkrunpliwcao"
},
"responses": {
"202": {
"headers": {
"location": "https://contoso.com/operationstatus"
}
},
"204": {}
}
}
Loading
Loading