Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.ResourceGraph to add version 2018-09-01-preview #5451

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"title": "Resource Change Details Query",
"description": "A resource change details query.",
"parameters": {
"api-version": "2018-09-01-preview",
"parameters": {
"resourceId": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"changeId": "53dc0515-b86b-4bc2-979b-e4694ab4a556"
}
},
"responses": {
"200": {
"body": {
"changeId": "53dc0515-b86b-4bc2-979b-e4694ab4a556",
"beforeSnapshot": {
"timestamp": "2018-10-31T01:32:05.993Z",
"content": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
},
"kind": "Storage",
"id": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"name": "mystorageaccount",
"type": "Microsoft.Storage/storageAccounts",
"location": "westus",
"tags": {},
"properties": {
"networkAcls": {
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Allow"
},
"supportsHttpsTrafficOnly": false,
"encryption": {
"services": {
"file": {
"enabled": true,
"lastEnabledTime": "2018-07-27T18:37:21.8333895Z"
},
"blob": {
"enabled": true,
"lastEnabledTime": "2018-07-27T18:37:21.8333895Z"
}
},
"keySource": "Microsoft.Storage"
},
"provisioningState": "Succeeded",
"creationTime": "2018-07-27T18:37:21.7708872Z",
"primaryEndpoints": {
"blob": "https://mystorageaccount.blob.core.windows.net/",
"queue": "https://mystorageaccount.queue.core.windows.net/",
"table": "https://mystorageaccount.table.core.windows.net/",
"file": "https://mystorageaccount.file.core.windows.net/"
},
"primaryLocation": "westus",
"statusOfPrimary": "available"
}
}
},
"afterSnapshot": {
"timestamp": "2018-10-31T01:54:24.42Z",
"content": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
},
"kind": "Storage",
"id": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"name": "mystorageaccount",
"type": "Microsoft.Storage/storageAccounts",
"location": "westus",
"tags": {},
"properties": {
"networkAcls": {
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Allow"
},
"supportsHttpsTrafficOnly": true,
"encryption": {
"services": {
"file": {
"enabled": true,
"lastEnabledTime": "2018-07-27T18:37:21.8333895Z"
},
"blob": {
"enabled": true,
"lastEnabledTime": "2018-07-27T18:37:21.8333895Z"
}
},
"keySource": "Microsoft.Storage"
},
"provisioningState": "Succeeded",
"creationTime": "2018-07-27T18:37:21.7708872Z",
"primaryEndpoints": {
"blob": "https://mystorageaccount.blob.core.windows.net/",
"queue": "https://mystorageaccount.queue.core.windows.net/",
"table": "https://mystorageaccount.table.core.windows.net/",
"file": "https://mystorageaccount.file.core.windows.net/"
},
"primaryLocation": "westus",
"statusOfPrimary": "available"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"title": "Basic Resource Changes Query",
"description": "A simple resource changes query.",
"parameters": {
"api-version": "2018-09-01-preview",
"parameters": {
"resourceId": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"interval": {
"start": "2018-10-30T12:09:03.141Z",
"end": "2018-10-31T12:09:03.141Z"
}
}
},
"responses": {
"200": {
"body": {
"changes": [
{
"changeId": "2db0ad2d-f6f0-4f46-b529-5c4e8c494648",
"beforeSnapshot": {
"timestamp": "2018-10-31T01:32:05.993Z"
},
"afterSnapshot": {
"timestamp": "2018-10-31T01:54:24.42Z"
}
},
{
"changeId": "9dc352cb-b7c1-4198-9eda-e5e3ed66aec8",
"beforeSnapshot": {
"timestamp": "2018-10-30T10:30:19.68Z"
},
"afterSnapshot": {
"timestamp": "2018-10-30T21:12:31.337Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"title": "Resource Changes Query: First Page",
"description": "A resource changes query requesting the first page.",
"parameters": {
"api-version": "2018-09-01-preview",
"parameters": {
"resourceId": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"interval": {
"start": "2018-10-30T12:09:03.141Z",
"end": "2018-10-31T12:09:03.141Z"
},
"$top": "2"
}
},
"responses": {
"200": {
"body": {
"changes": [
{
"changeId": "2db0ad2d-f6f0-4f46-b529-5c4e8c494648",
"beforeSnapshot": {
"timestamp": "2018-10-31T01:32:05.993Z"
},
"afterSnapshot": {
"timestamp": "2018-10-31T01:54:24.42Z"
}
},
{
"changeId": "9dc352cb-b7c1-4198-9eda-e5e3ed66aec8",
"beforeSnapshot": {
"timestamp": "2018-10-30T10:30:19.68Z"
},
"afterSnapshot": {
"timestamp": "2018-10-30T21:12:31.337Z"
}
}
],
"$skipToken": "ew0KICAiJGlkIjogIjEiLA0KICAiRW5kVGltZSI6ICJcL0RhdGUoMTU1MDc0NT"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"title": "Resource Changes Query: Next Page",
"description": "A resource changes query requesting the next page using a skip token.",
"parameters": {
"api-version": "2018-09-01-preview",
"parameters": {
"resourceId": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"interval": {
"start": "2018-10-30T12:09:03.141Z",
"end": "2018-10-31T12:09:03.141Z"
},
"$top": "2",
"$skipToken": "ew0KICAiJGlkIjogIjEiLA0KICAiRW5kVGltZSI6ICJcL0RhdGUoMTU1MDc0NT"
}
},
"responses": {
"200": {
"body": {
"changes": [
{
"changeId": "55f458c4-f1c0-4963-bc6c-af275cd47702",
"beforeSnapshot": {
"timestamp": "2018-10-31T03:43:08.629Z"
},
"afterSnapshot": {
"timestamp": "2018-10-31T05:12:32.087Z"
}
},
{
"changeId": "0495b929-b86d-46cc-a972-939145feed90",
"beforeSnapshot": {
"timestamp": "2018-10-31T01:54:24.42Z"
},
"afterSnapshot": {
"timestamp": "2018-10-31T02:01:02.163Z"
}
}
],
"$skipToken": "kVGltZSI6ICJcL0RhdGUoMTU1MDc0NTew0KICAiJGlkIjogIjEiLA0KICAiRW5"
}
}
}
}