Skip to content

Commit

Permalink
Dev dfp microsoft.dfp 2021 02 01 privatepreview (Azure#13305)
Browse files Browse the repository at this point in the history
* New Readme Config File

* New Go Language Readme Config File

* New Azure AZ Readme Config File

* New Azure CLI Readme Config File

* New Typescript Language Readme Config File

* New Python Language Readme Config File

* New C# Language Readme Config File

* New AzureResourceSchema Readme Config File

* New Swagger Spec File

* New Swagger Example Spec File

* DFP API specs. Copied from Azure-PPE

* Spelling fix. instnace => instance

* Fix resource provider name to pascal case

* Added '/providers/Microsoft.Dfp/operations'

* Added SystemData (fix R4009 error)

* Fix validation errors

* Prettier fixes

* Removed non-existend parameter sku

* Style fixes in DFP API specs

* Swagger ModelValidation failures fix

* Fix operations API

* Fix operations API validation failure

* 1. Added example for lists operations. 2. made the API preview instead of privatepreview

* Fix path in readme's

* Fix in readme

* Added readonly attribute to systemdata

* Added readonly attribute to systemdata

* Fix in python SDK readme

* Fixes in ListOperations.json examples

* Fixed API version

* Added type to response bodies

* Fix typos in examples (urls)

* Added 201 response into createInstance example

* Renamed RP name from Microsoft.Dfp to Microsoft.Dynamics365Fraudprotection

* Added long-running result for creation instance

* Added nextlink

* Fix in checkNameAvailability definition URL

* Next link parameter

* Using references to common types instead of re-declaring them

* Reused common type. Fixed provisioning state

* Nesting error fix

* Fixed examples

* Fix

* Fix in error response definition

* Rename RP. Fix examples in readme's

* Added http 202

* Added http 202 to examples
  • Loading branch information
alexsavo-ms authored Apr 13, 2021
1 parent 909db31 commit ce463ad
Show file tree
Hide file tree
Showing 17 changed files with 1,244 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Dynamics365Fraudprotection/instances/write",
"display": {
"provider": "Microsoft Dfp",
"resource": "Dynamic Fraud Protection",
"operation": "Create/Update Dfp instance",
"description": "Creates a DFP instance with the specified parameters or update the properties or tags."
}
},
{
"name": "Microsoft.Dynamics365Fraudprotection/instances/delete",
"display": {
"provider": "Microsoft Dfp",
"resource": "Dynamic Fraud Protection",
"operation": "Delete Dfp instance",
"description": "Deletes an existing Dfp instance."
}
},
{
"name": "Microsoft.Dynamics365Fraudprotection/checknameavailability/action",
"display": {
"provider": "Microsoft Dfp",
"resource": "Name Availability",
"operation": "Check Name Availability",
"description": "Checks that DFP name is valid and is not in use."
}
},
{
"name": "Microsoft.Dynamics365Fraudprotection/instances/read",
"display": {
"provider": "Microsoft Dfp",
"resource": "Dynamic Fraud Protection",
"operation": "List/Get Dynamic Fraud Protection instance(s)",
"description": "Returns the list of Dynamic Fraud Protection instances or gets the properties for the specified Dynamic Fraud Protection instance."
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"location": "West US",
"instanceParameters": {
"name": "azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances"
},
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"nameAvailable": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"instanceName": "azsdktest",
"api-version": "2021-02-01-preview",
"instanceParameters": {
"tags": {
"testKey": "testValue"
},
"location": "West US",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
}
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
},
"201": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
},
"202": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"instanceName": "azsdktest",
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"headers": {},
"description": "OK."
},
"202": {
"headers": {},
"description": "Accepted."
},
"204": {
"headers": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"instanceName": "azsdktest",
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest",
"location": "West US",
"name": "azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest",
"location": "West US",
"name": "azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
},
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest2",
"location": "West US",
"name": "azsdktest2",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"properties": {
"administration": {
"members": [
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest",
"location": "West US",
"name": "azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
},
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest2",
"location": "West US",
"name": "azsdktest2",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"properties": {
"administration": {
"members": [
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"instanceName": "azsdktest",
"api-version": "2021-02-01-preview",
"instanceUpdateParameters": {
"tags": {
"testKey": "testValue"
},
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
}
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest",
"location": "West US",
"name": "azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
},
"202": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest",
"type": "Microsoft.Dynamics365Fraudprotection/instances",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
}
}
}
Loading

0 comments on commit ce463ad

Please sign in to comment.