-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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.Community to add version…
… stable/2023-11-01 (#26571) * Generate new Service for communitytraining * Adding CommunityTrainings Specification
- Loading branch information
Showing
24 changed files
with
2,046 additions
and
0 deletions.
There are no files selected for viewing
121 changes: 121 additions & 0 deletions
121
specification/communitytraining/Community.Management/examples/CommunityTrainings_Create.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,121 @@ | ||
{ | ||
"title": "CreateCommunityTrainings", | ||
"operationId": "CommunityTrainings_Create", | ||
"parameters": { | ||
"api-version": "2023-11-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgCommunityTaining", | ||
"communityTrainingName": "ctApplication", | ||
"resource": { | ||
"properties": { | ||
"portalName": "ctwebsite", | ||
"portalAdminEmailAddress": "[email protected]", | ||
"portalOwnerOrganizationName": "CT Portal Owner Organization", | ||
"portalOwnerEmailAddress": "[email protected]", | ||
"identityConfiguration": { | ||
"identityType": "ADB2C", | ||
"teamsEnabled": false, | ||
"tenantId": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19", | ||
"domainName": "cttenant", | ||
"clientId": "8c92390f-2f30-493d-bd13-d3c3eba3709d", | ||
"clientSecret": "idenityConfigurationClientSecret", | ||
"b2cAuthenticationPolicy": "B2C_1_signup_signin", | ||
"b2cPasswordResetPolicy": "B2C_1_pwd_reset", | ||
"customLoginParameters": "custom_hint" | ||
}, | ||
"zoneRedundancyEnabled": true, | ||
"disasterRecoveryEnabled": true | ||
}, | ||
"sku": { | ||
"name": "Commercial", | ||
"tier": "Standard" | ||
}, | ||
"location": "southeastasia" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgCommunityTraining/providers/Microsoft.Community/communityTrainings/ctApplication", | ||
"name": "ctApplication", | ||
"type": "Microsoft.Community/communityTrainings", | ||
"properties": { | ||
"portalName": "ctwebsite", | ||
"portalAdminEmailAddress": "[email protected]", | ||
"portalOwnerOrganizationName": "CT Portal Owner Organization", | ||
"portalOwnerEmailAddress": "[email protected]", | ||
"identityConfiguration": { | ||
"identityType": "ADB2C", | ||
"teamsEnabled": false, | ||
"tenantId": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19", | ||
"domainName": "cttenant", | ||
"clientId": "8c92390f-2f30-493d-bd13-d3c3eba3709d", | ||
"b2cAuthenticationPolicy": "B2C_1_signup_signin", | ||
"b2cPasswordResetPolicy": "B2C_1_pwd_reset", | ||
"customLoginParameters": "custom_hint" | ||
}, | ||
"zoneRedundancyEnabled": true, | ||
"disasterRecoveryEnabled": true, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"sku": { | ||
"name": "Commercial", | ||
"tier": "Standard" | ||
}, | ||
"tags": {}, | ||
"location": "southeastasia", | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2023-08-01T11:42:44.657Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-08-01T11:42:44.657Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Community/locations/southeastasia/operationStatuses/a9d7605b-20d2-44c9-bdaf-65d981f30403?api-version=2023-11-01" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgCommunityTraining/providers/Microsoft.Community/communityTrainings/ctApplication", | ||
"name": "ctApplication", | ||
"type": "Microsoft.Community/communityTrainings", | ||
"properties": { | ||
"portalName": "ctwebsite", | ||
"portalAdminEmailAddress": "[email protected]", | ||
"portalOwnerEmailAddress": "[email protected]", | ||
"portalOwnerOrganizationName": "CT Portal Owner Organization", | ||
"identityConfiguration": { | ||
"identityType": "ADB2C", | ||
"teamsEnabled": false, | ||
"tenantId": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19", | ||
"domainName": "cttenant", | ||
"clientId": "8c92390f-2f30-493d-bd13-d3c3eba3709d", | ||
"b2cAuthenticationPolicy": "B2C_1_signup_signin", | ||
"b2cPasswordResetPolicy": "B2C_1_pwd_reset", | ||
"customLoginParameters": "custom_hint" | ||
}, | ||
"zoneRedundancyEnabled": true, | ||
"disasterRecoveryEnabled": true, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"sku": { | ||
"name": "Commercial", | ||
"tier": "Standard" | ||
}, | ||
"tags": {}, | ||
"location": "southeastasia", | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2023-08-01T11:42:44.657Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-08-01T11:42:44.657Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
specification/communitytraining/Community.Management/examples/CommunityTrainings_Delete.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,19 @@ | ||
{ | ||
"title": "DeleteCommunityTrainings", | ||
"operationId": "CommunityTrainings_Delete", | ||
"parameters": { | ||
"api-version": "2023-11-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgCommunityTraining", | ||
"communityTrainingName": "ctApplication" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Community/locations/southeastasia/operationStatuses/a9d7605b-20d2-44c9-bdaf-65d981f30403?api-version=2023-11-01" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
specification/communitytraining/Community.Management/examples/CommunityTrainings_Get.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,52 @@ | ||
{ | ||
"title": "GetCommunityTrainings", | ||
"operationId": "CommunityTrainings_Get", | ||
"parameters": { | ||
"api-version": "2023-11-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgCommunityTraining", | ||
"communityTrainingName": "ctApplication" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgCommunityTraining/providers/Microsoft.Community/communityTrainings/ctApplication", | ||
"name": "ctApplication", | ||
"type": "Microsoft.Community/communityTrainings", | ||
"properties": { | ||
"portalName": "ctwebsite", | ||
"portalAdminEmailAddress": "[email protected]", | ||
"portalOwnerOrganizationName": "CT Portal Owner Organization", | ||
"portalOwnerEmailAddress": "[email protected]", | ||
"identityConfiguration": { | ||
"identityType": "ADB2C", | ||
"teamsEnabled": false, | ||
"tenantId": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19", | ||
"domainName": "cttenant", | ||
"clientId": "8c92390f-2f30-493d-bd13-d3c3eba3709d", | ||
"b2cAuthenticationPolicy": "B2C_1_signup_signin", | ||
"b2cPasswordResetPolicy": "B2C_1_pwd_reset", | ||
"customLoginParameters": "custom_hint" | ||
}, | ||
"zoneRedundancyEnabled": true, | ||
"disasterRecoveryEnabled": true, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"sku": { | ||
"name": "Commercial", | ||
"tier": "Standard" | ||
}, | ||
"tags": {}, | ||
"location": "southeastasia", | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2023-08-01T11:42:44.657Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-08-01T11:42:44.657Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...mmunitytraining/Community.Management/examples/CommunityTrainings_ListByResourceGroup.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,55 @@ | ||
{ | ||
"title": "ListByResourceGroupCommunityTrainings", | ||
"operationId": "CommunityTrainings_ListByResourceGroup", | ||
"parameters": { | ||
"api-version": "2023-11-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgCommunityTraining" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgCommunityTraining/providers/Microsoft.Community/communityTrainings/ctApplication", | ||
"name": "ctApplication", | ||
"type": "Microsoft.Community/communityTrainings", | ||
"properties": { | ||
"portalName": "ctwebsite", | ||
"portalAdminEmailAddress": "[email protected]", | ||
"portalOwnerOrganizationName": "CT Portal Owner Organization", | ||
"portalOwnerEmailAddress": "[email protected]", | ||
"identityConfiguration": { | ||
"identityType": "ADB2C", | ||
"teamsEnabled": false, | ||
"tenantId": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19", | ||
"domainName": "cttenant", | ||
"clientId": "8c92390f-2f30-493d-bd13-d3c3eba3709d", | ||
"b2cAuthenticationPolicy": "B2C_1_signup_signin", | ||
"b2cPasswordResetPolicy": "B2C_1_pwd_reset", | ||
"customLoginParameters": "custom_hint" | ||
}, | ||
"zoneRedundancyEnabled": true, | ||
"disasterRecoveryEnabled": true, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"sku": { | ||
"name": "Commercial", | ||
"tier": "Standard" | ||
}, | ||
"tags": {}, | ||
"location": "southeastasia", | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2023-08-01T11:42:44.657Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-08-01T11:42:44.657Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...ommunitytraining/Community.Management/examples/CommunityTrainings_ListBySubscription.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,54 @@ | ||
{ | ||
"title": "ListBySubscriptionCommunityTrainings", | ||
"operationId": "CommunityTrainings_ListBySubscription", | ||
"parameters": { | ||
"api-version": "2023-11-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgCommunityTraining/providers/Microsoft.Community/communityTrainings/ctApplication", | ||
"name": "ctApplication", | ||
"type": "Microsoft.Community/communityTrainings", | ||
"properties": { | ||
"portalName": "ctwebsite", | ||
"portalAdminEmailAddress": "[email protected]", | ||
"portalOwnerOrganizationName": "CT Portal Owner Organization", | ||
"portalOwnerEmailAddress": "[email protected]", | ||
"identityConfiguration": { | ||
"identityType": "ADB2C", | ||
"teamsEnabled": false, | ||
"tenantId": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19", | ||
"domainName": "cttenant", | ||
"clientId": "8c92390f-2f30-493d-bd13-d3c3eba3709d", | ||
"b2cAuthenticationPolicy": "B2C_1_signup_signin", | ||
"b2cPasswordResetPolicy": "B2C_1_pwd_reset", | ||
"customLoginParameters": "custom_hint" | ||
}, | ||
"zoneRedundancyEnabled": true, | ||
"disasterRecoveryEnabled": true, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"sku": { | ||
"name": "Commercial", | ||
"tier": "Standard" | ||
}, | ||
"tags": {}, | ||
"location": "southeastasia", | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2023-08-01T11:42:44.657Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-08-01T11:42:44.657Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
specification/communitytraining/Community.Management/examples/CommunityTrainings_Update.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,77 @@ | ||
{ | ||
"title": "UpdateCommunityTrainings", | ||
"operationId": "CommunityTrainings_Update", | ||
"parameters": { | ||
"api-version": "2023-11-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "rgCommunityTraining", | ||
"communityTrainingName": "ctApplication", | ||
"properties": { | ||
"sku": { | ||
"name": "Commercial", | ||
"tier": "Standard" | ||
}, | ||
"tags": {}, | ||
"properties": { | ||
"identityConfiguration": { | ||
"identityType": "ADB2C", | ||
"teamsEnabled": false, | ||
"tenantId": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19", | ||
"domainName": "cttenant", | ||
"clientId": "8c92390f-2f30-493d-bd13-d3c3eba3709d", | ||
"clientSecret": "idenityConfigurationClientSecret", | ||
"b2cAuthenticationPolicy": "B2C_1_signup_signin", | ||
"b2cPasswordResetPolicy": "B2C_1_pwd_reset", | ||
"customLoginParameters": "custom_hint" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgCommunityTraining/providers/Microsoft.Community/communityTrainings/ctApplication", | ||
"name": "ctApplication", | ||
"type": "Microsoft.Community/communityTrainings", | ||
"properties": { | ||
"portalName": "ctwebsite", | ||
"portalAdminEmailAddress": "[email protected]", | ||
"portalOwnerOrganizationName": "CT Portal Owner Organization", | ||
"portalOwnerEmailAddress": "[email protected]", | ||
"identityConfiguration": { | ||
"identityType": "ADB2C", | ||
"teamsEnabled": false, | ||
"tenantId": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19", | ||
"domainName": "cttenant", | ||
"clientId": "8c92390f-2f30-493d-bd13-d3c3eba3709d", | ||
"b2cAuthenticationPolicy": "B2C_1_signup_signin", | ||
"b2cPasswordResetPolicy": "B2C_1_pwd_reset", | ||
"customLoginParameters": "custom_hint" | ||
}, | ||
"zoneRedundancyEnabled": true, | ||
"disasterRecoveryEnabled": true, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"sku": { | ||
"name": "Commercial", | ||
"tier": "Standard" | ||
}, | ||
"tags": {}, | ||
"location": "southeastasia", | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2023-08-01T11:42:44.657Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-08-01T11:42:44.657Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Community/locations/southeastasia/operationStatuses/a9d7605b-20d2-44c9-bdaf-65d981f30403?api-version=2023-11-01" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.