diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.json index f5af077d9..07b19f9b7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace", "commands": [{"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "Resource location"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "dateTime", "var": "$parameters.properties.createdAt", "options": ["created-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was created."}}, {"type": "boolean", "var": "$parameters.properties.critical", "options": ["critical"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is set as Critical."}}, {"type": "string", "var": "$parameters.properties.dataCenter", "options": ["data-center"], "hide": true, "group": "Properties", "help": {"short": "Data center for the namespace"}}, {"type": "boolean", "var": "$parameters.properties.enabled", "options": ["enabled"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is currently enabled."}}, {"type": "string", "var": "$parameters.properties.namespaceType", "options": ["namespace-type"], "hide": true, "group": "Properties", "help": {"short": "The namespace type."}, "enum": {"items": [{"name": "Messaging", "value": "Messaging"}, {"name": "NotificationHub", "value": "NotificationHub"}]}}, {"type": "string", "var": "$parameters.properties.provisioningState", "options": ["provisioning-state"], "hide": true, "group": "Properties", "help": {"short": "Provisioning state of the Namespace."}}, {"type": "string", "var": "$parameters.properties.region", "options": ["region"], "hide": true, "group": "Properties", "help": {"short": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe"}}, {"type": "string", "var": "$parameters.properties.scaleUnit", "options": ["scale-unit"], "hide": true, "group": "Properties", "help": {"short": "ScaleUnit where the namespace gets created"}}, {"type": "string", "var": "$parameters.properties.serviceBusEndpoint", "options": ["service-bus-endpoint"], "hide": true, "group": "Properties", "help": {"short": "Endpoint you can use to perform NotificationHub operations."}}, {"type": "string", "var": "$parameters.properties.status", "options": ["status"], "hide": true, "group": "Properties", "help": {"short": "Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting"}}, {"type": "string", "var": "$parameters.properties.subscriptionId", "options": ["subscription-id"], "hide": true, "group": "Properties", "help": {"short": "The Id of the Azure subscription associated with the namespace."}}, {"type": "dateTime", "var": "$parameters.properties.updatedAt", "options": ["updated-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was updated."}}]}, {"name": "Sku", "args": [{"type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["sku"], "group": "Sku", "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}], "operations": [{"operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "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": "dateTime", "name": "createdAt", "arg": "$parameters.properties.createdAt"}, {"type": "boolean", "name": "critical", "arg": "$parameters.properties.critical"}, {"type": "string", "name": "dataCenter", "arg": "$parameters.properties.dataCenter"}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.enabled"}, {"type": "string", "name": "name", "arg": "$Path.namespaceName"}, {"type": "string", "name": "namespaceType", "arg": "$parameters.properties.namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState", "arg": "$parameters.properties.provisioningState"}, {"type": "string", "name": "region", "arg": "$parameters.properties.region"}, {"type": "string", "name": "scaleUnit", "arg": "$parameters.properties.scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint", "arg": "$parameters.properties.serviceBusEndpoint"}, {"type": "string", "name": "status", "arg": "$parameters.properties.status"}, {"type": "string", "name": "subscriptionId", "arg": "$parameters.properties.subscriptionId"}, {"type": "dateTime", "name": "updatedAt", "arg": "$parameters.properties.updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"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.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "azure-async-operation"}, "operationId": "Namespaces_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"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"], "group": "Parameters", "help": {"short": "Resource location"}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "dateTime", "var": "$parameters.properties.createdAt", "options": ["created-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was created."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.critical", "options": ["critical"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is set as Critical."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataCenter", "options": ["data-center"], "hide": true, "group": "Properties", "help": {"short": "Data center for the namespace"}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enabled", "options": ["enabled"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is currently enabled."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.namespaceType", "options": ["namespace-type"], "hide": true, "group": "Properties", "help": {"short": "The namespace type."}, "enum": {"items": [{"name": "Messaging", "value": "Messaging"}, {"name": "NotificationHub", "value": "NotificationHub"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.provisioningState", "options": ["provisioning-state"], "hide": true, "group": "Properties", "help": {"short": "Provisioning state of the Namespace."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.region", "options": ["region"], "hide": true, "group": "Properties", "help": {"short": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.scaleUnit", "options": ["scale-unit"], "hide": true, "group": "Properties", "help": {"short": "ScaleUnit where the namespace gets created"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.serviceBusEndpoint", "options": ["service-bus-endpoint"], "hide": true, "group": "Properties", "help": {"short": "Endpoint you can use to perform NotificationHub operations."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.status", "options": ["status"], "hide": true, "group": "Properties", "help": {"short": "Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.subscriptionId", "options": ["subscription-id"], "hide": true, "group": "Properties", "help": {"short": "The Id of the Azure subscription associated with the namespace."}}, {"nullable": true, "type": "dateTime", "var": "$parameters.properties.updatedAt", "options": ["updated-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was updated."}}]}, {"name": "Sku", "args": [{"nullable": true, "type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"nullable": true, "type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["sku"], "group": "Sku", "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"nullable": true, "type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"nullable": true, "type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}], "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NamespaceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt", "arg": "$parameters.properties.createdAt"}, {"type": "boolean", "name": "critical", "arg": "$parameters.properties.critical"}, {"type": "string", "name": "dataCenter", "arg": "$parameters.properties.dataCenter"}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.enabled"}, {"type": "string", "name": "name", "arg": "$Path.namespaceName"}, {"type": "string", "name": "namespaceType", "arg": "$parameters.properties.namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState", "arg": "$parameters.properties.provisioningState"}, {"type": "string", "name": "region", "arg": "$parameters.properties.region"}, {"type": "string", "name": "scaleUnit", "arg": "$parameters.properties.scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint", "arg": "$parameters.properties.serviceBusEndpoint"}, {"type": "string", "name": "status", "arg": "$parameters.properties.status"}, {"type": "string", "name": "subscriptionId", "arg": "$parameters.properties.subscriptionId"}, {"type": "dateTime", "name": "updatedAt", "arg": "$parameters.properties.updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NamespaceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace", "commands": [{"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "azure-async-operation"}, "operationId": "Namespaces_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "Resource location"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "dateTime", "var": "$parameters.properties.createdAt", "options": ["created-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was created."}}, {"type": "boolean", "var": "$parameters.properties.critical", "options": ["critical"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is set as Critical."}}, {"type": "string", "var": "$parameters.properties.dataCenter", "options": ["data-center"], "hide": true, "group": "Properties", "help": {"short": "Data center for the namespace"}}, {"type": "boolean", "var": "$parameters.properties.enabled", "options": ["enabled"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is currently enabled."}}, {"type": "string", "var": "$parameters.properties.namespaceType", "options": ["namespace-type"], "hide": true, "group": "Properties", "help": {"short": "The namespace type."}, "enum": {"items": [{"name": "Messaging", "value": "Messaging"}, {"name": "NotificationHub", "value": "NotificationHub"}]}}, {"type": "string", "var": "$parameters.properties.provisioningState", "options": ["provisioning-state"], "hide": true, "group": "Properties", "help": {"short": "Provisioning state of the Namespace."}}, {"type": "string", "var": "$parameters.properties.region", "options": ["region"], "hide": true, "group": "Properties", "help": {"short": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe"}}, {"type": "string", "var": "$parameters.properties.scaleUnit", "options": ["scale-unit"], "hide": true, "group": "Properties", "help": {"short": "ScaleUnit where the namespace gets created"}}, {"type": "string", "var": "$parameters.properties.serviceBusEndpoint", "options": ["service-bus-endpoint"], "hide": true, "group": "Properties", "help": {"short": "Endpoint you can use to perform NotificationHub operations."}}, {"type": "string", "var": "$parameters.properties.status", "options": ["status"], "hide": true, "group": "Properties", "help": {"short": "Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting"}}, {"type": "string", "var": "$parameters.properties.subscriptionId", "options": ["subscription-id"], "hide": true, "group": "Properties", "help": {"short": "The Id of the Azure subscription associated with the namespace."}}, {"type": "dateTime", "var": "$parameters.properties.updatedAt", "options": ["updated-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was updated."}}]}, {"name": "Sku", "args": [{"type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["sku"], "group": "Sku", "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}], "operations": [{"operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "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": "dateTime", "name": "createdAt", "arg": "$parameters.properties.createdAt"}, {"type": "boolean", "name": "critical", "arg": "$parameters.properties.critical"}, {"type": "string", "name": "dataCenter", "arg": "$parameters.properties.dataCenter"}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.enabled"}, {"type": "string", "name": "name", "arg": "$Path.namespaceName"}, {"type": "string", "name": "namespaceType", "arg": "$parameters.properties.namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState", "arg": "$parameters.properties.provisioningState"}, {"type": "string", "name": "region", "arg": "$parameters.properties.region"}, {"type": "string", "name": "scaleUnit", "arg": "$parameters.properties.scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint", "arg": "$parameters.properties.serviceBusEndpoint"}, {"type": "string", "name": "status", "arg": "$parameters.properties.status"}, {"type": "string", "name": "subscriptionId", "arg": "$parameters.properties.subscriptionId"}, {"type": "dateTime", "name": "updatedAt", "arg": "$parameters.properties.updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"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.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The namespace name."}}, {"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"], "group": "Parameters", "help": {"short": "Resource location"}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "dateTime", "var": "$parameters.properties.createdAt", "options": ["created-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was created."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.critical", "options": ["critical"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is set as Critical."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataCenter", "options": ["data-center"], "hide": true, "group": "Properties", "help": {"short": "Data center for the namespace"}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enabled", "options": ["enabled"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the namespace is currently enabled."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.namespaceType", "options": ["namespace-type"], "hide": true, "group": "Properties", "help": {"short": "The namespace type."}, "enum": {"items": [{"name": "Messaging", "value": "Messaging"}, {"name": "NotificationHub", "value": "NotificationHub"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.provisioningState", "options": ["provisioning-state"], "hide": true, "group": "Properties", "help": {"short": "Provisioning state of the Namespace."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.region", "options": ["region"], "hide": true, "group": "Properties", "help": {"short": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.scaleUnit", "options": ["scale-unit"], "hide": true, "group": "Properties", "help": {"short": "ScaleUnit where the namespace gets created"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.serviceBusEndpoint", "options": ["service-bus-endpoint"], "hide": true, "group": "Properties", "help": {"short": "Endpoint you can use to perform NotificationHub operations."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.status", "options": ["status"], "hide": true, "group": "Properties", "help": {"short": "Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.subscriptionId", "options": ["subscription-id"], "hide": true, "group": "Properties", "help": {"short": "The Id of the Azure subscription associated with the namespace."}}, {"nullable": true, "type": "dateTime", "var": "$parameters.properties.updatedAt", "options": ["updated-at"], "hide": true, "group": "Properties", "help": {"short": "The time the namespace was updated."}}]}, {"name": "Sku", "args": [{"nullable": true, "type": "integer", "var": "$parameters.sku.capacity", "options": ["capacity"], "hide": true, "group": "Sku", "help": {"short": "The capacity of the resource"}}, {"nullable": true, "type": "string", "var": "$parameters.sku.family", "options": ["family"], "hide": true, "group": "Sku", "help": {"short": "The Sku Family"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["sku"], "group": "Sku", "help": {"short": "Name of the notification hub sku"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Standard", "value": "Standard"}]}}, {"nullable": true, "type": "string", "var": "$parameters.sku.size", "options": ["size"], "hide": true, "group": "Sku", "help": {"short": "The Sku size"}}, {"nullable": true, "type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "hide": true, "group": "Sku", "help": {"short": "The tier of particular sku"}}]}], "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "critical"}, {"type": "string", "name": "dataCenter"}, {"type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "name"}, {"type": "string", "name": "namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState"}, {"type": "string", "name": "region"}, {"type": "string", "name": "scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint"}, {"type": "string", "name": "status"}, {"type": "string", "name": "subscriptionId"}, {"type": "dateTime", "name": "updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NamespaceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "createdAt", "arg": "$parameters.properties.createdAt"}, {"type": "boolean", "name": "critical", "arg": "$parameters.properties.critical"}, {"type": "string", "name": "dataCenter", "arg": "$parameters.properties.dataCenter"}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.enabled"}, {"type": "string", "name": "name", "arg": "$Path.namespaceName"}, {"type": "string", "name": "namespaceType", "arg": "$parameters.properties.namespaceType", "enum": {"items": [{"value": "Messaging"}, {"value": "NotificationHub"}]}}, {"type": "string", "name": "provisioningState", "arg": "$parameters.properties.provisioningState"}, {"type": "string", "name": "region", "arg": "$parameters.properties.region"}, {"type": "string", "name": "scaleUnit", "arg": "$parameters.properties.scaleUnit"}, {"type": "string", "name": "serviceBusEndpoint", "arg": "$parameters.properties.serviceBusEndpoint"}, {"type": "string", "name": "status", "arg": "$parameters.properties.status"}, {"type": "string", "name": "subscriptionId", "arg": "$parameters.properties.subscriptionId"}, {"type": "dateTime", "name": "updatedAt", "arg": "$parameters.properties.updatedAt"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "family", "arg": "$parameters.sku.family"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size", "arg": "$parameters.sku.size"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NamespaceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml index 5dc1d6961..1ee3f0dfa 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30=/2017-04-01.xml @@ -2,6 +2,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -209,130 +333,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.json index 1601334e5..90993b968 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace authorization-rule", "commands": [{"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "Properties", "args": [{"type": "array", "var": "$parameters.properties.rights", "options": ["rights"], "group": "Properties", "help": {"short": "The rights associated with the rule."}, "item": {"type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}], "operations": [{"operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "Namespaces_DeleteAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"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": "Namespaces_GetAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"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": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.rights", "options": ["rights"], "group": "Properties", "help": {"short": "The rights associated with the rule."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}], "operations": [{"operationId": "Namespaces_GetAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SharedAccessAuthorizationRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}], "clientFlatten": true}}}}, {"operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@SharedAccessAuthorizationRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub namespace authorization-rule", "commands": [{"name": "show", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"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": "Namespaces_GetAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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}], "confirmation": ""}, {"name": "delete", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "Namespaces_DeleteAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "Properties", "args": [{"type": "array", "var": "$parameters.properties.rights", "options": ["rights"], "group": "Properties", "help": {"short": "The rights associated with the rule."}, "item": {"type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}], "operations": [{"operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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}], "confirmation": ""}, {"name": "update", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/authorizationrules/{}", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9BdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Authorization Rule Name."}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}}, {"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": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.rights", "options": ["rights"], "group": "Properties", "help": {"short": "The rights associated with the rule."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Listen", "value": "Listen"}, {"name": "Manage", "value": "Manage"}, {"name": "Send", "value": "Send"}]}}}]}], "operations": [{"operationId": "Namespaces_GetAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SharedAccessAuthorizationRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "rights", "arg": "$parameters.properties.rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}]}], "clientFlatten": true}}}}, {"operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@SharedAccessAuthorizationRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml index 722d0b7d4..bc1a7d21b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vYXV0aG9yaXphdGlvbnJ1bGVzL3t9/2017-04-01.xml @@ -2,33 +2,21 @@ - + - + - - - - - - - - - - - - - + - + @@ -40,23 +28,6 @@ - - - - - - - - - - - - - - - - - @@ -157,21 +128,33 @@ - + - + - + + + + + + + + + + + + + - + @@ -183,6 +166,23 @@ + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.json index 8b098b2e8..e52927c4b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJz/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJz/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "NotificationHubs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "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.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}, "identifiers": ["keyName"]}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJz/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "notification-hub", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}/notificationhubs", "version": "2017-04-01", "swagger": "mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9ub3RpZmljYXRpb25IdWJz/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"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": "NotificationHubs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "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.NotificationHubs/namespaces/{}/notificationHubs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "admCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authTokenUrl"}, {"type": "string", "name": "clientId"}, {"type": "string", "name": "clientSecret"}], "clientFlatten": true}]}, {"type": "object", "name": "apnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "apnsCertificate"}, {"type": "string", "name": "appId"}, {"type": "string", "name": "appName"}, {"type": "string", "name": "certificateKey"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "keyId"}, {"type": "string", "name": "thumbprint"}, {"type": "string", "name": "token"}], "clientFlatten": true}]}, {"type": "array", "name": "authorizationRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "claimType"}, {"readOnly": true, "type": "string", "name": "claimValue"}, {"readOnly": true, "type": "string", "name": "createdTime"}, {"readOnly": true, "type": "string", "name": "keyName"}, {"readOnly": true, "type": "string", "name": "modifiedTime"}, {"readOnly": true, "type": "string", "name": "primaryKey"}, {"readOnly": true, "type": "integer", "name": "revision"}, {"type": "array", "name": "rights", "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}, {"readOnly": true, "type": "string", "name": "secondaryKey"}]}}, {"type": "object", "name": "baiduCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "baiduApiKey"}, {"type": "string", "name": "baiduEndPoint"}, {"type": "string", "name": "baiduSecretKey"}], "clientFlatten": true}]}, {"type": "object", "name": "gcmCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "gcmEndpoint"}, {"type": "string", "name": "googleApiKey"}], "clientFlatten": true}]}, {"type": "object", "name": "mpnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "certificateKey"}, {"type": "string", "name": "mpnsCertificate"}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "registrationTtl"}, {"type": "object", "name": "wnsCredential", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "packageSid"}, {"type": "string", "name": "secretKey"}, {"type": "string", "name": "windowsLiveEndpoint"}], "clientFlatten": true}]}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Standard"}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier"}]}, {"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"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.xml index 55af13fe1..1bde55d84 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ub3RpZmljYXRpb25odWJzL25hbWVzcGFjZXMve30vbm90aWZpY2F0aW9uaHVicw==/2017-04-01.xml @@ -57,7 +57,7 @@ - +