diff --git a/Commands/communication/email/domain/sender-username/_create.md b/Commands/communication/email/domain/sender-username/_create.md index fa98afa71..7af6100c4 100644 --- a/Commands/communication/email/domain/sender-username/_create.md +++ b/Commands/communication/email/domain/sender-username/_create.md @@ -10,7 +10,7 @@ Create a new SenderUsername resource under the parent Domains resource or update #### examples -- Create a sender username +- Create a sender username (--sender-username and --username values should be the same) ```bash - communication email domain sender-username create --domain-name DomainName --email-service-name ResourceName -g ResourceGroup --sender-username SenderUsername --username Username --display-name DisplayName + communication email domain sender-username create --domain-name DomainName --email-service-name ResourceName -g ResourceGroup --sender-username Username --username Username --display-name DisplayName ``` diff --git a/Commands/tree.json b/Commands/tree.json index eefce1e3d..28b4b0d6d 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -15122,9 +15122,9 @@ "examples": [ { "commands": [ - "communication email domain sender-username create --domain-name DomainName --email-service-name ResourceName -g ResourceGroup --sender-username SenderUsername --username Username --display-name DisplayName" + "communication email domain sender-username create --domain-name DomainName --email-service-name ResourceName -g ResourceGroup --sender-username Username --username Username --display-name DisplayName" ], - "name": "Create a sender username" + "name": "Create a sender username (--sender-username and --username values should be the same)" } ], "name": "2023-04-01", diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXM=/2023-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXM=/2023-04-01.json index 6dd671fdc..41a34deb3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXM=/2023-04-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXM=/2023-04-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.communication/emailservices", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbW11bmljYXRpb24vZW1haWxTZXJ2aWNlcw==/V/MjAyMy0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2Vz/V/MjAyMy0wNC0wMQ=="}], "commandGroups": [{"name": "communication email", "commands": [{"name": "list", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.communication/emailservices", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbW11bmljYXRpb24vZW1haWxTZXJ2aWNlcw==/V/MjAyMy0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2Vz/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_EmailServices_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_EmailServices_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_EmailServices_ListByResourceGroup"], "operationId": "EmailServices_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_EmailServices_ListBySubscription"], "operationId": "EmailServices_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Communication/emailServices", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.communication/emailservices", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbW11bmljYXRpb24vZW1haWxTZXJ2aWNlcw==/V/MjAyMy0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2Vz/V/MjAyMy0wNC0wMQ=="}], "commandGroups": [{"name": "communication email", "commands": [{"name": "list", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.communication/emailservices", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbW11bmljYXRpb24vZW1haWxTZXJ2aWNlcw==/V/MjAyMy0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2Vz/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_EmailServices_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_EmailServices_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_EmailServices_ListByResourceGroup"], "operationId": "EmailServices_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_EmailServices_ListBySubscription"], "operationId": "EmailServices_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Communication/emailServices", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXM=/2023-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXM=/2023-04-01.xml index 9aaca4506..c3a6a0ea3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXM=/2023-04-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXM=/2023-04-01.xml @@ -52,7 +52,7 @@ - + @@ -136,7 +136,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30=/2023-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30=/2023-04-01.json index 547cf77ca..db13b88d0 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30=/2023-04-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30=/2023-04-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "commandGroups": [{"name": "communication email", "commands": [{"name": "show", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.emailServiceName", "options": ["n", "name", "email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "EmailServices_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.emailServiceName", "options": ["n", "name", "email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "EmailServices_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.emailServiceName", "options": ["n", "name", "email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.dataLocation", "options": ["data-location"], "group": "Properties", "help": {"short": "The location where the email service stores its data at rest."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "EmailServices_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataLocation", "arg": "$parameters.properties.dataLocation", "required": true}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.emailServiceName", "options": ["n", "name", "email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "EmailServices_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "EmailServiceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "EmailServices_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@EmailServiceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "commandGroups": [{"name": "communication email", "commands": [{"name": "show", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.emailServiceName", "options": ["n", "name", "email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "EmailServices_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.emailServiceName", "options": ["n", "name", "email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "EmailServices_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.emailServiceName", "options": ["n", "name", "email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "The geo-location where the resource lives"}, "default": {"value": "Global"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.dataLocation", "options": ["data-location"], "required": true, "group": "Properties", "help": {"short": "The location where the email service stores its data at rest."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "EmailServices_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "dataLocation", "arg": "$parameters.properties.dataLocation", "required": true}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.emailServiceName", "options": ["n", "name", "email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "EmailServices_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "dataLocation", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "EmailServiceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "EmailServices_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@EmailServiceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30=/2023-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30=/2023-04-01.xml index 9fa41ed06..c954c7e69 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30=/2023-04-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30=/2023-04-01.xml @@ -40,7 +40,7 @@ - + @@ -159,6 +159,7 @@ + @@ -168,7 +169,7 @@ - + @@ -195,7 +196,7 @@ - + @@ -216,7 +217,7 @@ - + @@ -321,7 +322,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30vZG9tYWlucy97fQ==/2023-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30vZG9tYWlucy97fQ==/2023-04-01.json index 553730324..f11d12924 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30vZG9tYWlucy97fQ==/2023-04-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30vZG9tYWlucy97fQ==/2023-04-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "commandGroups": [{"name": "communication email domain", "commands": [{"name": "show", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.domainName", "options": ["n", "name", "domain-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the Domains resource."}, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "var": "$Path.emailServiceName", "options": ["email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Domains_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}/domains/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataLocation"}, {"type": "string", "name": "domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"readOnly": true, "type": "string", "name": "fromSenderDomain"}, {"readOnly": true, "type": "string", "name": "mailFromSenderDomain"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "string", "name": "userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "verificationRecords", "props": [{"type": "@DnsRecord_read", "name": "DKIM"}, {"type": "@DnsRecord_read", "name": "DKIM2"}, {"type": "@DnsRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "integer32", "name": "ttl"}, {"readOnly": true, "type": "string", "name": "type"}, {"readOnly": true, "type": "string", "name": "value"}], "cls": "DnsRecord_read"}, {"type": "@DnsRecord_read", "name": "SPF"}]}, {"readOnly": true, "type": "object", "name": "verificationStates", "props": [{"type": "@VerificationStatusRecord_read", "name": "DKIM"}, {"type": "@VerificationStatusRecord_read", "name": "DKIM2"}, {"type": "@VerificationStatusRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "CancellationRequested"}, {"value": "NotStarted"}, {"value": "VerificationFailed"}, {"value": "VerificationInProgress"}, {"value": "VerificationRequested"}, {"value": "Verified"}]}}], "cls": "VerificationStatusRecord_read"}, {"type": "@VerificationStatusRecord_read", "name": "SPF"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.domainName", "options": ["n", "name", "domain-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the Domains resource."}, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "var": "$Path.emailServiceName", "options": ["email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Domains_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.domainName", "options": ["n", "name", "domain-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the Domains resource."}, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "var": "$Path.emailServiceName", "options": ["email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.domainManagement", "options": ["domain-management"], "group": "Properties", "help": {"short": "Describes how a Domains resource is being managed."}, "enum": {"items": [{"name": "AzureManaged", "value": "AzureManaged"}, {"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "CustomerManagedInExchangeOnline", "value": "CustomerManagedInExchangeOnline"}]}}, {"type": "string", "var": "$parameters.properties.userEngagementTracking", "options": ["user-engmnt-tracking"], "group": "Properties", "help": {"short": "Describes whether user engagement tracking is enabled or disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Domains_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "domainManagement", "arg": "$parameters.properties.domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"type": "string", "name": "userEngagementTracking", "arg": "$parameters.properties.userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}/domains/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataLocation"}, {"type": "string", "name": "domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"readOnly": true, "type": "string", "name": "fromSenderDomain"}, {"readOnly": true, "type": "string", "name": "mailFromSenderDomain"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "string", "name": "userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "verificationRecords", "props": [{"type": "@DnsRecord_read", "name": "DKIM"}, {"type": "@DnsRecord_read", "name": "DKIM2"}, {"type": "@DnsRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "integer32", "name": "ttl"}, {"readOnly": true, "type": "string", "name": "type"}, {"readOnly": true, "type": "string", "name": "value"}], "cls": "DnsRecord_read"}, {"type": "@DnsRecord_read", "name": "SPF"}]}, {"readOnly": true, "type": "object", "name": "verificationStates", "props": [{"type": "@VerificationStatusRecord_read", "name": "DKIM"}, {"type": "@VerificationStatusRecord_read", "name": "DKIM2"}, {"type": "@VerificationStatusRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "CancellationRequested"}, {"value": "NotStarted"}, {"value": "VerificationFailed"}, {"value": "VerificationInProgress"}, {"value": "VerificationRequested"}, {"value": "Verified"}]}}], "cls": "VerificationStatusRecord_read"}, {"type": "@VerificationStatusRecord_read", "name": "SPF"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.domainName", "options": ["n", "name", "domain-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the Domains resource."}, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "var": "$Path.emailServiceName", "options": ["email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.domainManagement", "options": ["domain-management"], "group": "Properties", "help": {"short": "Describes how a Domains resource is being managed."}, "enum": {"items": [{"name": "AzureManaged", "value": "AzureManaged"}, {"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "CustomerManagedInExchangeOnline", "value": "CustomerManagedInExchangeOnline"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.userEngagementTracking", "options": ["user-engmnt-tracking"], "group": "Properties", "help": {"short": "Describes whether user engagement tracking is enabled or disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"operationId": "Domains_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}/domains/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataLocation"}, {"type": "string", "name": "domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"readOnly": true, "type": "string", "name": "fromSenderDomain"}, {"readOnly": true, "type": "string", "name": "mailFromSenderDomain"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "string", "name": "userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "verificationRecords", "props": [{"type": "@DnsRecord_read", "name": "DKIM"}, {"type": "@DnsRecord_read", "name": "DKIM2"}, {"type": "@DnsRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "integer32", "name": "ttl"}, {"readOnly": true, "type": "string", "name": "type"}, {"readOnly": true, "type": "string", "name": "value"}], "cls": "DnsRecord_read"}, {"type": "@DnsRecord_read", "name": "SPF"}]}, {"readOnly": true, "type": "object", "name": "verificationStates", "props": [{"type": "@VerificationStatusRecord_read", "name": "DKIM"}, {"type": "@VerificationStatusRecord_read", "name": "DKIM2"}, {"type": "@VerificationStatusRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "CancellationRequested"}, {"value": "NotStarted"}, {"value": "VerificationFailed"}, {"value": "VerificationInProgress"}, {"value": "VerificationRequested"}, {"value": "Verified"}]}}], "cls": "VerificationStatusRecord_read"}, {"type": "@VerificationStatusRecord_read", "name": "SPF"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DomainResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "domainManagement", "arg": "$parameters.properties.domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"type": "string", "name": "userEngagementTracking", "arg": "$parameters.properties.userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Domains_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DomainResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "commandGroups": [{"name": "communication email domain", "commands": [{"name": "show", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.domainName", "options": ["n", "name", "domain-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the Domains resource."}, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "var": "$Path.emailServiceName", "options": ["email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Domains_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}/domains/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataLocation"}, {"type": "string", "name": "domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"readOnly": true, "type": "string", "name": "fromSenderDomain"}, {"readOnly": true, "type": "string", "name": "mailFromSenderDomain"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "string", "name": "userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "verificationRecords", "props": [{"type": "@DnsRecord_read", "name": "DKIM"}, {"type": "@DnsRecord_read", "name": "DKIM2"}, {"type": "@DnsRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "integer32", "name": "ttl"}, {"readOnly": true, "type": "string", "name": "type"}, {"readOnly": true, "type": "string", "name": "value"}], "cls": "DnsRecord_read"}, {"type": "@DnsRecord_read", "name": "SPF"}]}, {"readOnly": true, "type": "object", "name": "verificationStates", "props": [{"type": "@VerificationStatusRecord_read", "name": "DKIM"}, {"type": "@VerificationStatusRecord_read", "name": "DKIM2"}, {"type": "@VerificationStatusRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "CancellationRequested"}, {"value": "NotStarted"}, {"value": "VerificationFailed"}, {"value": "VerificationInProgress"}, {"value": "VerificationRequested"}, {"value": "Verified"}]}}], "cls": "VerificationStatusRecord_read"}, {"type": "@VerificationStatusRecord_read", "name": "SPF"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.domainName", "options": ["n", "name", "domain-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the Domains resource."}, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "var": "$Path.emailServiceName", "options": ["email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Domains_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.domainName", "options": ["n", "name", "domain-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the Domains resource."}, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "var": "$Path.emailServiceName", "options": ["email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "The geo-location where the resource lives"}, "default": {"value": "Global"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.domainManagement", "options": ["domain-management"], "group": "Properties", "help": {"short": "Describes how a Domains resource is being managed."}, "enum": {"items": [{"name": "AzureManaged", "value": "AzureManaged"}, {"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "CustomerManagedInExchangeOnline", "value": "CustomerManagedInExchangeOnline"}]}}, {"type": "string", "var": "$parameters.properties.userEngagementTracking", "options": ["user-engmnt-tracking"], "group": "Properties", "help": {"short": "Describes whether user engagement tracking is enabled or disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Domains_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "domainManagement", "arg": "$parameters.properties.domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"type": "string", "name": "userEngagementTracking", "arg": "$parameters.properties.userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}/domains/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataLocation"}, {"type": "string", "name": "domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"readOnly": true, "type": "string", "name": "fromSenderDomain"}, {"readOnly": true, "type": "string", "name": "mailFromSenderDomain"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "string", "name": "userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "verificationRecords", "props": [{"type": "@DnsRecord_read", "name": "DKIM"}, {"type": "@DnsRecord_read", "name": "DKIM2"}, {"type": "@DnsRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "integer32", "name": "ttl"}, {"readOnly": true, "type": "string", "name": "type"}, {"readOnly": true, "type": "string", "name": "value"}], "cls": "DnsRecord_read"}, {"type": "@DnsRecord_read", "name": "SPF"}]}, {"readOnly": true, "type": "object", "name": "verificationStates", "props": [{"type": "@VerificationStatusRecord_read", "name": "DKIM"}, {"type": "@VerificationStatusRecord_read", "name": "DKIM2"}, {"type": "@VerificationStatusRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "CancellationRequested"}, {"value": "NotStarted"}, {"value": "VerificationFailed"}, {"value": "VerificationInProgress"}, {"value": "VerificationRequested"}, {"value": "Verified"}]}}], "cls": "VerificationStatusRecord_read"}, {"type": "@VerificationStatusRecord_read", "name": "SPF"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.communication/emailservices/{}/domains/{}", "version": "2023-04-01", "swagger": "mgmt-plane/communication/ResourceProviders/Microsoft.Communication/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbXVuaWNhdGlvbi9lbWFpbFNlcnZpY2VzL3tlbWFpbFNlcnZpY2VOYW1lfS9kb21haW5zL3tkb21haW5OYW1lfQ==/V/MjAyMy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.domainName", "options": ["n", "name", "domain-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the Domains resource."}, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "var": "$Path.emailServiceName", "options": ["email-service-name"], "required": true, "idPart": "name", "help": {"short": "The name of the EmailService resource."}, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.domainManagement", "options": ["domain-management"], "group": "Properties", "help": {"short": "Describes how a Domains resource is being managed."}, "enum": {"items": [{"name": "AzureManaged", "value": "AzureManaged"}, {"name": "CustomerManaged", "value": "CustomerManaged"}, {"name": "CustomerManagedInExchangeOnline", "value": "CustomerManagedInExchangeOnline"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.userEngagementTracking", "options": ["user-engmnt-tracking"], "group": "Properties", "help": {"short": "Describes whether user engagement tracking is enabled or disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"operationId": "Domains_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Communication/emailServices/{}/domains/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataLocation"}, {"type": "string", "name": "domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"readOnly": true, "type": "string", "name": "fromSenderDomain"}, {"readOnly": true, "type": "string", "name": "mailFromSenderDomain"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Moving"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "string", "name": "userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "verificationRecords", "props": [{"type": "@DnsRecord_read", "name": "DKIM"}, {"type": "@DnsRecord_read", "name": "DKIM2"}, {"type": "@DnsRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "integer32", "name": "ttl"}, {"readOnly": true, "type": "string", "name": "type"}, {"readOnly": true, "type": "string", "name": "value"}], "cls": "DnsRecord_read"}, {"type": "@DnsRecord_read", "name": "SPF"}]}, {"readOnly": true, "type": "object", "name": "verificationStates", "props": [{"type": "@VerificationStatusRecord_read", "name": "DKIM"}, {"type": "@VerificationStatusRecord_read", "name": "DKIM2"}, {"type": "@VerificationStatusRecord_read", "name": "DMARC"}, {"type": "object", "name": "Domain", "props": [{"readOnly": true, "type": "string", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "CancellationRequested"}, {"value": "NotStarted"}, {"value": "VerificationFailed"}, {"value": "VerificationInProgress"}, {"value": "VerificationRequested"}, {"value": "Verified"}]}}], "cls": "VerificationStatusRecord_read"}, {"type": "@VerificationStatusRecord_read", "name": "SPF"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DomainResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "domainManagement", "arg": "$parameters.properties.domainManagement", "required": true, "enum": {"items": [{"value": "AzureManaged"}, {"value": "CustomerManaged"}, {"value": "CustomerManagedInExchangeOnline"}]}}, {"type": "string", "name": "userEngagementTracking", "arg": "$parameters.properties.userEngagementTracking", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Domains_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "domainName", "arg": "$Path.domainName", "required": true, "format": {"maxLength": 253, "minLength": 1}}, {"type": "string", "name": "emailServiceName", "arg": "$Path.emailServiceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]+$", "maxLength": 63, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DomainResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30vZG9tYWlucy97fQ==/2023-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30vZG9tYWlucy97fQ==/2023-04-01.xml index 0bd777212..8f13f75b1 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30vZG9tYWlucy97fQ==/2023-04-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21tdW5pY2F0aW9uL2VtYWlsc2VydmljZXMve30vZG9tYWlucy97fQ==/2023-04-01.xml @@ -223,6 +223,7 @@ +