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

Remove uiDefinitionUri property from managed app responses and add new api version #3154

Merged
merged 6 commits into from
Jun 5, 2018
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
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"managedApplicationName": "myManagedApplication",
"api-version": "2018-06-01",
"parameters": {
"properties": {
"managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef",
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG"
},
"name": "myManagedApplication",
"location": "East US 2",
"kind": "ServiceCatalog"
}
},
"responses": {
"201": {
"headers": {},
"body": {
"name": "myManagedApplication",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applications/myManagedApplication",
"type": "Microsoft.Solutions/applications",
"location": "East US 2",
"managedBy": null,
"resourceGroup": "rg",
"tags": null,
"plan": null,
"identity": null,
"kind": "ServiceCatalog",
"sku": null,
"properties": {
"managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef",
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
"outputs": null,
"parameters": null,
"provisioningState": "Created"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"managedApplicationDefinitionName": "myManagedApplicationDef",
"api-version": "2018-06-01",
"parameters": {
"properties": {
"lockLevel": "None",
"displayName": "myManagedApplicationDef",
"description": "myManagedApplicationDef description",
"authorizations": [
{
"principalId": "validprincipalguid",
"roleDefinitionId": "validroleguid"
}
],
"packageFileUri": "https://path/to/packagezipfile"
},
"location": "East US 2"
}
},
"responses": {
"201": {
"headers": {},
"body": {
"name": "myManagedApplicationDef",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myManagedApplicationDef",
"type": "Microsoft.Solutions/applicationDefinitions",
"location": "East US 2",
"managedBy": null,
"resourceGroup": "rg",
"tags": null,
"identity": null,
"sku": null,
"properties": {
"artifacts": [
{
"name": "CreateUiDefinition",
"type": "Custom",
"uri": "https://path/to/managedApplicationCreateUiDefinition.json"
},
{
"name": "ManagedApplicationResourceTemplate",
"type": "Template",
"uri": "https://path/to/mainTemplate.json"
}
],
"authorizations": [
{
"principalId": "validprincipalguid",
"roleDefinitionId": "validroleguid"
}
],
"description": "myManagedApplicationDef description",
"displayName": "myManagedApplicationDef",
"lockLevel": null,
"packageFileUri": "https://path/to/packagezipfile"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"managedApplicationName": "myManagedApplication",
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"name": "myManagedApplication",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applications/myManagedApplication",
"type": "Microsoft.Solutions/applications",
"location": "East US 2",
"managedBy": null,
"resourceGroup": "rg",
"tags": null,
"plan": null,
"identity": null,
"kind": "ServiceCatalog",
"sku": null,
"properties": {
"managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/managedApplicationDefinitions/myAppDef",
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
"outputs": null,
"parameters": null,
"provisioningState": "Created"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"managedApplicationName": "myManagedApplicationDef",
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"name": "myManagedApplicationDef",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myManagedApplicationDef",
"type": "Microsoft.Solutions/applicationDefinitions",
"location": "East US 2",
"managedBy": null,
"resourceGroup": "rg",
"tags": null,
"identity": null,
"sku": null,
"properties": {
"artifacts": [
{
"name": "CreateUiDefinition",
"type": "Custom",
"uri": "https://path/to/managedApplicationCreateUiDefinition.json"
},
{
"name": "ManagedApplicationResourceTemplate",
"type": "Template",
"uri": "https://path/to/mainTemplate.json"
}
],
"authorizations": [
{
"principalId": "validprincipalguid",
"roleDefinitionId": "validroleguid"
}
],
"description": "myManagedApplicationDef description",
"displayName": "myManagedApplicationDef",
"lockLevel": null,
"packageFileUri": "https://path/to/packagezipfile"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "myManagedApplicationDef",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myManagedApplicationDef",
"type": "Microsoft.Solutions/applicationDefinitions",
"location": "East US 2",
"managedBy": null,
"resourceGroup": "rg",
"tags": null,
"identity": null,
"sku": null,
"properties": {
"artifacts": [
{
"name": "CreateUiDefinition",
"type": "Custom",
"uri": "https://path/to/managedApplicationCreateUiDefinition.json"
},
{
"name": "ManagedApplicationResourceTemplate",
"type": "Template",
"uri": "https://path/to/mainTemplate.json"
}
],
"authorizations": [
{
"principalId": "validprincipalguid",
"roleDefinitionId": "validroleguid"
}
],
"description": "myManagedApplicationDef description",
"displayName": "myManagedApplicationDef",
"lockLevel": null,
"packageFileUri": "https://path/to/packagezipfile"
}
},
{
"name": "myManagedApplicationDef2",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myManagedApplicationDef2",
"type": "Microsoft.Solutions/applicationDefinitions",
"location": "West US",
"managedBy": null,
"resourceGroup": "rg",
"tags": null,
"identity": null,
"sku": null,
"properties": {
"artifacts": [
{
"name": "CreateUiDefinition",
"type": "Custom",
"uri": "https://path/to/managedApplicationCreateUiDefinition.json"
},
{
"name": "ManagedApplicationResourceTemplate",
"type": "Template",
"uri": "https://path/to/mainTemplate.json"
}
],
"authorizations": [
{
"principalId": "validprincipalguid",
"roleDefinitionId": "validroleguid"
}
],
"description": "myManagedApplicationDef2 description",
"displayName": "myManagedApplicationDef2",
"lockLevel": null,
"packageFileUri": "https://path/to/packagezipfile"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "myManagedApplication",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applications/myManagedApplication",
"type": "Microsoft.Solutions/applications",
"location": "East US 2",
"managedBy": null,
"resourceGroup": "rg",
"tags": null,
"plan": null,
"identity": null,
"kind": "ServiceCatalog",
"sku": null,
"properties": {
"managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/managedApplicationDefinitions/myAppDef",
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
"outputs": null,
"parameters": null,
"provisioningState": "Created"
}
},
{
"name": "myManagedApplication2",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applications/myManagedApplication2",
"type": "Microsoft.Solutions/applications",
"location": "West US",
"managedBy": null,
"resourceGroup": "rg",
"tags": null,
"plan": null,
"identity": null,
"kind": "ServiceCatalog",
"sku": null,
"properties": {
"managedApplicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/managedApplicationDefinitions/myAppDef2",
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
"outputs": null,
"parameters": null,
"provisioningState": "Created"
}
}
]
}
}
}
}
Loading