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.Aadiam to add version preview/2020-03-01-preview and stable/2020-03-01 #15861

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"swagger": "2.0",
"info": {
"title": "Common types",
"version": "1.0"
},
"paths": {},
"definitions": {
"ErrorResponse": {
"description": "Error response.",
"properties": {
"error": {
"$ref": "#/definitions/ErrorDefinition",
"description": "The error details."
}
}
},
"ErrorDefinition": {
"description": "Error definition.",
"properties": {
"code": {
"description": "Service specific error code which serves as the substatus for the HTTP error code.",
"type": "string",
"readOnly": true
},
"message": {
"description": "Description of the error.",
"type": "string",
"readOnly": true
},
"details": {
"description": "Internal error details.",
"type": "array",
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"readOnly": true
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -114,38 +114,6 @@
}
},
"definitions": {
"ErrorResponse": {
"description": "Error response.",
"properties": {
"error": {
"$ref": "#/definitions/ErrorDefinition",
"description": "The error details."
}
}
},
"ErrorDefinition": {
"description": "Error definition.",
"properties": {
"code": {
"description": "Service specific error code which serves as the substatus for the HTTP error code.",
"type": "string",
"readOnly": true
},
"message": {
"description": "Description of the error.",
"type": "string",
"readOnly": true
},
"details": {
"description": "Internal error details.",
"type": "array",
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"readOnly": true
}
}
},
"PrivateLinkResourceListResult": {
"description": "A list of private link resources",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"name": "mysetting",
"api-version": "2017-04-01",
"parameters": {
"id": "providers/microsoft.aadiam/diagnosticSettings/mysetting",
"name": "mysetting",
"type": "",
"properties": {
"storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
"workspaceId": "",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"policyName": "example-policy-5849",
"resourceGroupName": "resourcegroup",
"api-version": "2020-03-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"privateEndpointConnectionName": "{privateEndpointConnection name}",
"parameters": {
"properties": {
"privateEndpoint": {
"id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/microsoft.aadiam/privateLinkForAzureAD/ddb1/privateLinkConnections/{privateEndpointConnection name}"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "You may pass",
"actionsRequired": "None"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/microsoft.aadiam/privateLinkForAzureAD/ddb1/privateLinkConnections/{privateEndpointConnection name}",
"name": "{privateEndpointConnection name}",
"type": "microsoft.aadiam/privateLinkForAzureAD/privateEndpointConnections",
"properties": {
"provisioningState": "Provisioning",
"privateEndpoint": {
"id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/microsoft.aadiam/privateLinkForAzureAD/ddb1/privateLinkConnections/{privateEndpointConnection name}"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "You may pass",
"actionsRequired": "None"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"policyName": "example-policy-5849",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-03-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"privateEndpointConnectionName": "{privateEndpointConnection name}"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"policyName": "example-policy-5849",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-03-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"privateEndpointConnectionName": "{privateEndpointConnection name}"
},
"responses": {
"200": {
"body": {
"id": "subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.aadiam/privateLinkForAzureAD/example-policy-5849/privateLinkConnections/{privateEndpointConnection name}",
"name": "{privateEndpointConnection name}",
"type": "microsoft.aadiam/privateLinkForAzureAD/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.aadiam/privateLinkForAzureAD/example-policy-5849/privateLinkConnections/{privateEndpointConnection name}"
},
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "approve please",
"actionsRequired": "None"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"policyName": "example-policy-5849",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-03-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.aadiam/privateLinkForAzureAD/example-policy-5849/privateLinkConnections/{privateEndpointConnection name}",
"name": "{privateEndpointConnection name}",
"type": "microsoft.aadiam/privateLinkForAzureAD/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/myResourceGroup/providers/microsoft.aadiam/privateLinkForAzureAD/example-policy-5849/privateLinkConnections/{privateEndpointConnection name}"
},
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "approve please",
"actionsRequired": "None"
}
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "rg1",
"policyName": "ddb1",
"api-version": "2020-03-01",
"privateLinkPolicy": {
"name": "myOrgPrivateLinkPolicy",
"allTenants": false,
"ownerTenantId": "950f8bca-bf4d-4a41-ad10-034e792a243d",
"tenants": [
"3616657d-1c80-41ae-9d83-2a2776f2c9be",
"727b6ef1-18ab-4627-ac95-3f9cd945ed87"
],
"resourceName": "myOrgVnetPrivateLink",
"subscriptionId": "57849194-ea1f-470b-abda-d195b25634c1",
"resourceGroup": "myOrgVnetRG"
}
},
"responses": {
"200": {
"body": {
"name": "myOrgPrivateLinkPolicy",
"ownerTenantId": "950f8bca-bf4d-4a41-ad10-034e792a243d",
"allTenants": false,
"tenants": [
"3616657d-1c80-41ae-9d83-2a2776f2c9be",
"727b6ef1-18ab-4627-ac95-3f9cd945ed87"
],
"resourceName": "myOrgVnetPrivateLink",
"subscriptionId": "57849194-ea1f-470b-abda-d195b25634c1",
"resourceGroup": "myOrgVnetRG"
}
},
"201": {
"body": {
"name": "myOrgPrivateLinkPolicy",
"ownerTenantId": "950f8bca-bf4d-4a41-ad10-034e792a243d",
"allTenants": false,
"tenants": [
"3616657d-1c80-41ae-9d83-2a2776f2c9be",
"727b6ef1-18ab-4627-ac95-3f9cd945ed87"
],
"resourceName": "myOrgVnetPrivateLink",
"subscriptionId": "57849194-ea1f-470b-abda-d195b25634c1",
"resourceGroup": "myOrgVnetRG"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "rg1",
"policyName": "ddb1",
"api-version": "2020-03-01",
"privateLinkPolicy": {
"name": "myOrgPrivateLinkPolicy",
"ownerTenantId": "950f8bca-bf4d-4a41-ad10-034e792a243d",
"allTenants": false,
"tenants": [
"3616657d-1c80-41ae-9d83-2a2776f2c9be",
"727b6ef1-18ab-4627-ac95-3f9cd945ed87"
],
"resourceName": "myOrgVnetPrivateLink",
"subscriptionId": "57849194-ea1f-470b-abda-d195b25634c1",
"resourceGroup": "myOrgVnetRG"
}
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "rg1",
"policyName": "ddb1",
"api-version": "2020-03-01"
},
"responses": {
"200": {
"body": {
"name": "myOrgPrivateLinkPolicy",
"ownerTenantId": "950f8bca-bf4d-4a41-ad10-034e792a243d",
"allTenants": false,
"tenants": [
"3616657d-1c80-41ae-9d83-2a2776f2c9be",
"727b6ef1-18ab-4627-ac95-3f9cd945ed87"
],
"resourceName": "myOrgVnetPrivateLink",
"subscriptionId": "57849194-ea1f-470b-abda-d195b25634c1",
"resourceGroup": "myOrgVnetRG"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "rg1",
"api-version": "2020-03-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "myOrgPrivateLinkPolicy",
"ownerTenantId": "950f8bca-bf4d-4a41-ad10-034e792a243d",
"tenants": [
"3616657d-1c80-41ae-9d83-2a2776f2c9be",
"727b6ef1-18ab-4627-ac95-3f9cd945ed87"
],
"resourceName": "myOrgVnetPrivateLink",
"subscriptionId": "57849194-ea1f-470b-abda-d195b25634c1",
"resourceGroup": "myOrgVnetRG"
}
],
"nextLink": "null"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"api-version": "2020-03-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "myOrgPrivateLinkPolicy",
"ownerTenantId": "950f8bca-bf4d-4a41-ad10-034e792a243d",
"allTenants": false,
"tenants": [
"3616657d-1c80-41ae-9d83-2a2776f2c9be",
"727b6ef1-18ab-4627-ac95-3f9cd945ed87"
],
"resourceName": "myOrgVnetPrivateLink",
"subscriptionId": "57849194-ea1f-470b-abda-d195b25634c1",
"resourceGroup": "myOrgVnetRG"
}
],
"nextLink": "null"
}
}
}
}
Loading