Skip to content

Commit

Permalink
[Microsoft.StorageMover] [UploadLimitSchedule] [v2024-07-01] (Azure#2…
Browse files Browse the repository at this point in the history
…9082)

* Implemented ULS - copied v2024-07-01 files (incl. readme) from RPSaaSMaster branch

* Removed reference to `v2024-05-01-preview`
  • Loading branch information
InbalZim authored Jun 10, 2024
1 parent 224f1c7 commit 1cb8cb0
Show file tree
Hide file tree
Showing 46 changed files with 4,898 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"operationId": "Agents_CreateOrUpdate",
"parameters": {
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95",
"resourceGroupName": "examples-rg",
"storageMoverName": "examples-storageMoverName",
"agentName": "examples-agentName",
"api-version": "2024-07-01",
"agent": {
"properties": {
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"description": "Example Agent Description",
"uploadLimitSchedule": {
"weeklyRecurrences": [
{
"days": [
"Monday"
],
"startTime": {
"hour": 9,
"minute": 0
},
"endTime": {
"hour": 18,
"minute": 30
},
"limitInMbps": 2000
}
]
}
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"description": "Example Agent Description",
"agentVersion": "1.0.0",
"agentStatus": "Online",
"lastStatusUpdate": "2023-07-01T02:21:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 4096,
"numberOfCores": 8,
"uptimeInSeconds": 522,
"timeZone": "Eastern Standard Time",
"uploadLimitSchedule": {
"weeklyRecurrences": [
{
"days": [
"Monday"
],
"startTime": {
"hour": 9,
"minute": 0
},
"endTime": {
"hour": 18,
"minute": 30
},
"limitInMbps": 2000
}
]
},
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2023-07-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-07-01T02:01:01.1075056Z"
},
"id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName",
"name": "examples-agentName",
"type": "Microsoft.StorageMover/storageMovers/agents"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"operationId": "Agents_CreateOrUpdate",
"parameters": {
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95",
"resourceGroupName": "examples-rg",
"storageMoverName": "examples-storageMoverName",
"agentName": "examples-agentName",
"api-version": "2024-07-01",
"agent": {
"properties": {
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"agentVersion": "1.0.0",
"agentStatus": "Online",
"lastStatusUpdate": "2023-07-01T02:21:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 4096,
"numberOfCores": 8,
"uptimeInSeconds": 522,
"timeZone": "Eastern Standard Time",
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2023-07-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-07-01T02:01:01.1075056Z"
},
"id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName",
"name": "examples-agentName",
"type": "Microsoft.StorageMover/storageMovers/agents"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"operationId": "Agents_CreateOrUpdate",
"parameters": {
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95",
"resourceGroupName": "examples-rg",
"storageMoverName": "examples-storageMoverName",
"agentName": "examples-agentName",
"api-version": "2024-07-01",
"agent": {
"properties": {
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"uploadLimitSchedule": {
"weeklyRecurrences": [
{
"days": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"startTime": {
"hour": 18,
"minute": 0
},
"endTime": {
"hour": 24,
"minute": 0
},
"limitInMbps": 2000
},
{
"days": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"startTime": {
"hour": 0,
"minute": 0
},
"endTime": {
"hour": 9,
"minute": 0
},
"limitInMbps": 2000
}
]
}
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"agentVersion": "1.0.0",
"agentStatus": "Online",
"lastStatusUpdate": "2023-07-01T02:21:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 4096,
"numberOfCores": 8,
"uptimeInSeconds": 522,
"timeZone": "Eastern Standard Time",
"uploadLimitSchedule": {
"weeklyRecurrences": [
{
"days": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"startTime": {
"hour": 18,
"minute": 0
},
"endTime": {
"hour": 24,
"minute": 0
},
"limitInMbps": 2000
},
{
"days": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"startTime": {
"hour": 0,
"minute": 0
},
"endTime": {
"hour": 9,
"minute": 0
},
"limitInMbps": 2000
}
]
},
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2023-07-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-07-01T02:01:01.1075056Z"
},
"id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName",
"name": "examples-agentName",
"type": "Microsoft.StorageMover/storageMovers/agents"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"operationId": "Agents_Delete",
"parameters": {
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95",
"resourceGroupName": "examples-rg",
"storageMoverName": "examples-storageMoverName",
"agentName": "examples-agentName",
"api-version": "2024-07-01"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/locations/SWEDENCENTRAL/operationStatuses/6ba7b810-9dad-11d1-80b4-00c04fd430c8?api-version=2024-07-01",
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/locations/SWEDENCENTRAL/operationStatuses/6ba7b810-9dad-11d1-80b4-00c04fd430c8?api-version=2024-07-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"operationId": "Agents_Get",
"parameters": {
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95",
"resourceGroupName": "examples-rg",
"storageMoverName": "examples-storageMoverName",
"agentName": "examples-agentName",
"api-version": "2024-07-01"
},
"responses": {
"200": {
"body": {
"properties": {
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"description": "Example Agent Description",
"agentVersion": "1.0.0",
"agentStatus": "Online",
"lastStatusUpdate": "2023-07-01T02:21:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 4096,
"numberOfCores": 8,
"uptimeInSeconds": 522,
"timeZone": "Eastern Standard Time",
"uploadLimitSchedule": {
"weeklyRecurrences": [
{
"days": [
"Monday"
],
"startTime": {
"hour": 9,
"minute": 0
},
"endTime": {
"hour": 18,
"minute": 30
},
"limitInMbps": 2000
}
]
},
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2023-07-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-07-01T02:01:01.1075056Z"
},
"id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName",
"name": "examples-agentName",
"type": "Microsoft.StorageMover/storageMovers/agents"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"operationId": "Agents_Get",
"parameters": {
"subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95",
"resourceGroupName": "examples-rg",
"storageMoverName": "examples-storageMoverName",
"agentName": "examples-agentName",
"api-version": "2024-07-01"
},
"responses": {
"200": {
"body": {
"properties": {
"arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"agentVersion": "1.0.0",
"agentStatus": "Online",
"lastStatusUpdate": "2023-07-01T02:21:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 4096,
"numberOfCores": 8,
"uptimeInSeconds": 522,
"timeZone": "Eastern Standard Time",
"provisioningState": "Succeeded"
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2023-07-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-07-01T02:01:01.1075056Z"
},
"id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName",
"name": "examples-agentName",
"type": "Microsoft.StorageMover/storageMovers/agents"
}
}
}
}
Loading

0 comments on commit 1cb8cb0

Please sign in to comment.