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

Dev dfp microsoft.dfp 2021 02 01 privatepreview #13305

Merged
merged 47 commits into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
6d9d08e
New Readme Config File
alexsavo-ms Mar 5, 2021
e23c126
New Go Language Readme Config File
alexsavo-ms Mar 5, 2021
4005cf0
New Azure AZ Readme Config File
alexsavo-ms Mar 5, 2021
a26bfc9
New Azure CLI Readme Config File
alexsavo-ms Mar 5, 2021
71883c2
New Typescript Language Readme Config File
alexsavo-ms Mar 5, 2021
18c9806
New Python Language Readme Config File
alexsavo-ms Mar 5, 2021
12cc642
New C# Language Readme Config File
alexsavo-ms Mar 5, 2021
3b84fc0
New AzureResourceSchema Readme Config File
alexsavo-ms Mar 5, 2021
ce5d839
New Swagger Spec File
alexsavo-ms Mar 5, 2021
947fb72
New Swagger Example Spec File
alexsavo-ms Mar 5, 2021
0209441
DFP API specs. Copied from Azure-PPE
alexsavo-ms Mar 6, 2021
b518435
Spelling fix. instnace => instance
alexsavo-ms Mar 6, 2021
dbb52da
Fix resource provider name to pascal case
alexsavo-ms Mar 6, 2021
d547307
Added '/providers/Microsoft.Dfp/operations'
alexsavo-ms Mar 8, 2021
63d1ed8
Added SystemData (fix R4009 error)
alexsavo-ms Mar 8, 2021
1609e2b
Fix validation errors
alexsavo-ms Mar 8, 2021
b8be6b2
Prettier fixes
alexsavo-ms Mar 8, 2021
87e09c0
Removed non-existend parameter sku
alexsavo-ms Mar 8, 2021
39ffb67
Style fixes in DFP API specs
alexsavo-ms Mar 8, 2021
b37e0a4
Swagger ModelValidation failures fix
alexsavo-ms Mar 8, 2021
67c3c3e
Fix operations API
alexsavo-ms Mar 8, 2021
0e29f94
Fix operations API validation failure
alexsavo-ms Mar 8, 2021
6bebf3e
1. Added example for lists operations. 2. made the API preview instea…
alexsavo-ms Mar 10, 2021
f761fd9
Fix path in readme's
alexsavo-ms Mar 10, 2021
20c0ca8
Fix in readme
alexsavo-ms Mar 10, 2021
b244f1f
Added readonly attribute to systemdata
alexsavo-ms Mar 11, 2021
e010eae
Added readonly attribute to systemdata
alexsavo-ms Mar 11, 2021
3050dd7
Fix in python SDK readme
alexsavo-ms Mar 13, 2021
f85b4af
Fixes in ListOperations.json examples
alexsavo-ms Apr 7, 2021
e20ff06
Fixed API version
alexsavo-ms Apr 7, 2021
173a3ca
Added type to response bodies
alexsavo-ms Apr 7, 2021
396210d
Fix typos in examples (urls)
alexsavo-ms Apr 8, 2021
7656962
Added 201 response into createInstance example
alexsavo-ms Apr 8, 2021
8d6e41a
Renamed RP name from Microsoft.Dfp to Microsoft.Dynamics365Fraudprote…
alexsavo-ms Apr 8, 2021
4b85067
Added long-running result for creation instance
alexsavo-ms Apr 8, 2021
376b78b
Added nextlink
alexsavo-ms Apr 8, 2021
e0978d1
Fix in checkNameAvailability definition URL
alexsavo-ms Apr 8, 2021
cfc399d
Next link parameter
alexsavo-ms Apr 8, 2021
3ff10a9
Using references to common types instead of re-declaring them
alexsavo-ms Apr 8, 2021
ccf5af1
Reused common type. Fixed provisioning state
alexsavo-ms Apr 8, 2021
e0181ae
Nesting error fix
alexsavo-ms Apr 8, 2021
a4fc124
Fixed examples
alexsavo-ms Apr 8, 2021
68af610
Fix
alexsavo-ms Apr 8, 2021
601c493
Fix in error response definition
alexsavo-ms Apr 8, 2021
6021285
Rename RP. Fix examples in readme's
alexsavo-ms Apr 8, 2021
7d91e1d
Added http 202
alexsavo-ms Apr 9, 2021
a4bdc69
Added http 202 to examples
alexsavo-ms Apr 9, 2021
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

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,66 @@
{
"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": [
"[email protected]",
"[email protected]"
]
}
}
}
},
"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": [
"[email protected]",
"[email protected]"
]
},
"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": [
"[email protected]",
"[email protected]"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"instanceName": "azsdktest",
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"headers": {},
"description": "OK."
},
"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": [
"[email protected]"
]
},
"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": [
"[email protected]"
]
},
"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": [
"[email protected]"
]
},
"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": [
"[email protected]"
]
},
"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": [
"[email protected]"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"instanceName": "azsdktest",
"api-version": "2021-02-01-preview",
"instanceUpdateParameters": {
"tags": {
"testKey": "testValue"
},
"properties": {
"administration": {
"members": [
"[email protected]",
"[email protected]"
]
}
}
}
},
"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": [
"[email protected]",
"[email protected]"
]
},
"provisioningState": "Provisioning"
},
"tags": {
"testKey": "testValue"
}
}
}
}
}
28 changes: 28 additions & 0 deletions specification/dfp/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## AZ

These settings apply only when `--az` is specified on the command line.

For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage.

``` yaml $(az) && $(target-mode) != 'core'
az:
extensions: dfp
namespace: azure.mgmt.dfp
package-name: azure-mgmt-dfp
az-output-folder: $(azure-cli-extension-folder)/src/dfp
python-sdk-output-folder: "$(az-output-folder)/azext_dfp/vendored_sdks/dfp"
# add additinal configuration here specific for Azure CLI
# refer to the faq.md for more details
```



This is for command modules that already in azure cli main repo.
``` yaml $(az) && $(target-mode) == 'core'
az:
extensions: dfp
namespace: azure.mgmt.dfp
package-name: azure-mgmt-dfp
az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/dfp
python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/dfp"
```
23 changes: 23 additions & 0 deletions specification/dfp/resource-manager/readme.azureresourceschema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## AzureResourceSchema

These settings apply only when `--azureresourceschema` is specified on the command line.

### AzureResourceSchema multi-api

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: schema-dfp-2021-02-01-preview

```

Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

### Tag: schema-dfp-2021-02-01-preview and azureresourceschema

``` yaml $(tag) == 'schema-dfp-2021-02-01-preview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas

# all the input files in this apiVersion
input-file:
- Microsoft.Dynamics365Fraudprotection/preview/2021-02-01-preview/dfp.json
```
1 change: 1 addition & 0 deletions specification/dfp/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## CLI Common Settings for all the command line tools
Loading