-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Aadiam to add version pr…
…eview/2020-03-01-preview and stable/2020-03-01 (#15861) * Adds base for updating Microsoft.Aadiam from version preview/2020-03-01-preview to version 2020-03-01 * Updates readme * Updates API version in new specs and examples * Adding changes from previous PR * Ran prettier, fixed types.json reference * Remove changes to preview version * Fix python failure * Try switching error locations * Change error location back * fix old examples * Try to fix python check
- Loading branch information
Showing
21 changed files
with
1,565 additions
and
35 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/common/1.0/types.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
.../Microsoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateEndpointConnectionsCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
.../Microsoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateEndpointConnectionsDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...ger/Microsoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateEndpointConnectionsGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...er/Microsoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateEndpointConnectionsList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...e-manager/Microsoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateLinkPolicyCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...e-manager/Microsoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateLinkPolicyDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...urce-manager/Microsoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateLinkPolicyGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...rce-manager/Microsoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateLinkPolicyList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...crosoft.Aadiam/stable/2020-03-01/examples/AzureADPrivateLinkPolicyListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.