如何在沙盒中创建 Synapse 工作区?

Posted

技术标签:

【中文标题】如何在沙盒中创建 Synapse 工作区?【英文标题】:How to Create Synapse workspace in sandbox? 【发布时间】:2022-01-07 11:56:52 【问题描述】:

我是 Azure 门户的新手,想尝试 Azure Synapse 工作区。我不想要 12 个月的免费订阅。我使用沙盒订阅来尝试各种功能。 但是当我想尝试 Synapse 工作区时,我收到以下错误。

如何解决?

"additionalInfo": [

  "type": "PolicyViolation",
  "info": 
    "policyDefinitionDisplayName": "Allowed resource types",
    "policySetDefinitionDisplayName": "webapps-initiative",
    "evaluationDetails": 
      "evaluatedExpressions": [
        
          "result": "False",
          "expressionKind": "Field",
          "expression": "type",
          "path": "type",
          "expressionValue": "Microsoft.Synapse/workspaces",
          "targetValue": [
            "Microsoft.ApiManagement/service",
            "Microsoft.AlertsManagement/SmartDetectorAlertRules",
            "Microsoft.Cache/Redis",
            "Microsoft.Cdn/profiles",
            "Microsoft.Cdn/profiles/endpoints",
            "Microsoft.CognitiveServices/accounts",
            "Microsoft.ContainerRegistry/registries",
            "Microsoft.ContainerRegistry/registries/webhooks",
            "Microsoft.DataFactory/factories",
            "Microsoft.DBforPostgreSQL/servers",
            "Microsoft.DBforPostgreSQL/serversv2",
            "Microsoft.DocumentDB/databaseAccounts",
            "microsoft.insights/actiongroups",
            "microsoft.insights/components",
            "Microsoft.KeyVault/vaults",
            "Microsoft.Logic/workflows",
            "Microsoft.MixedReality/remoteRenderingAccounts",
            "Microsoft.Network/connections",
            "Microsoft.Network/localNetworkGateways",
            "Microsoft.Network/networkSecurityGroups",
            "Microsoft.Network/publicIPAddresses",
            "Microsoft.Network/trafficmanagerprofiles",
            "Microsoft.Network/virtualNetworkGateways",
            "Microsoft.Network/virtualNetworks",
            "Microsoft.Portal/dashboards",
            "Microsoft.Relay/namespaces",
            "Microsoft.Resources/resourceGroups",
            "Microsoft.Search/searchServices",
            "Microsoft.ServiceBus/namespaces",
            "Microsoft.ServiceBus/namespaces/authorizationrules",
            "Microsoft.ServiceBus/namespaces/queues",
            "Microsoft.ServiceBus/namespaces/queues/authorizationrules",
            "Microsoft.ServiceBus/namespaces/topics",
            "Microsoft.ServiceBus/namespaces/topics/authorizationrules",
            "Microsoft.ServiceBus/namespaces/topics/subscriptions",
            "Microsoft.ServiceBus/namespaces/topics/subscriptions/rules",
            "Microsoft.SignalRService/SignalR",
            "Microsoft.Sql/servers",
            "Microsoft.Sql/servers/databases",
            "Microsoft.Storage/storageAccounts",
            "Microsoft.Web/certificates",
            "Microsoft.Web/connections",
            "Microsoft.Web/customApis",
            "Microsoft.Web/serverFarms",
            "Microsoft.Web/serverfarms/workers",
            "Microsoft.Web/sites",
            "Microsoft.Web/sites/instances",
            "Microsoft.Web/sites/metricdefinitions",
            "Microsoft.Web/sites/metrics",
            "Microsoft.Web/sites/slots",
            "Microsoft.Web/sites/slots/instances",
            "Microsoft.Web/sites/slots/metricdefinitions",
            "Microsoft.Web/sites/slots/metrics",
            "Microsoft.Web/staticSites"
          ],
          "operator": "In"
        
      ]
    ,
    "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a08ec900-254a-4555-9bf5-e42af04b5c5c",
    "policySetDefinitionId": "/providers/Microsoft.Management/managementGroups/learn-sandbox-prod/providers/Microsoft.Authorization/policySetDefinitions/webapps-initiative",
    "policyDefinitionReferenceId": "allowed-resource-types_1",
    "policySetDefinitionName": "webapps-initiative",
    "policyDefinitionName": "a08ec900-254a-4555-9bf5-e42af04b5c5c",
    "policyDefinitionEffect": "deny",
    "policyAssignmentId": "/providers/Microsoft.Management/managementGroups/192fe359-e72a-fa7e-dcd5-95e985e7eac9/providers/Microsoft.Authorization/policyAssignments/webapps-assignment",
    "policyAssignmentName": "webapps-assignment",
    "policyAssignmentScope": "/providers/Microsoft.Management/managementGroups/192fe359-e72a-fa7e-dcd5-95e985e7eac9"
  

]

我应该使用哪个模型沙箱来解决此错误。我只想为我的 dp203 证书学习 Azure Synapse Analytics。

【问题讨论】:

【参考方案1】:

很遗憾,Azure Synapse Analytics 没有沙盒环境。

原因:使用 MS Learn 沙盒订阅,您无法创建所有类型的资源,只能创建您正在经历的学习路径中允许的资源。

您需要创建一个free trial account 来学习 Azure Synapse Analytics。

【讨论】:

始终提供免费试用。

以上是关于如何在沙盒中创建 Synapse 工作区?的主要内容,如果未能解决你的问题,请参考以下文章

如何在沙盒中使用 google adwords api? [关闭]

无法在 Azure Synapse Analytics 中创建表

Paypal IPN 在 paypal 帐户中不起作用,但在沙盒中正常工作

REST 客户端未在沙盒中生成 Webhook 事件

我正在尝试在 azure synapse 中创建链接服务(休息),但我没有授权

如何使用 java 和 paypal api 在沙盒模式下进行大规模支付?