abundant-book-94104
11/29/2021, 5:04 AMflaky-school-82490
11/29/2021, 12:04 PMabundant-book-94104
11/29/2021, 11:11 PMabundant-book-94104
11/30/2021, 11:37 AMprivate_endpoint_connection = \
azure_native.datafactory.PrivateEndpointConnection("DTG-SYD-DEV-ADS-ADF-Pvte-EP",
private_endpoint_connection_name="DTG-SYD-DEV-ADS-ADF-Pvte-EP",
factory_name="DTG-SYD-DEV-ADS-ADF-001",
properties=azure_native.datafactory.PrivateLinkConnectionApprovalRequestArgs(
private_link_service_connection_state=azure_native.datafactory.PrivateLinkConnectionStateArgs(
description="Internal Connection only",
status="Approved",
actions_required="",
),
),
resource_group_name="DTG-SYD-DEV-ARG-Data",
)
faint-tiger-16075
11/30/2021, 10:08 PMnetFrameworkVersion
to v5.0
and linuxFxVersion
to DOTNET|5.0
but neither of those properties seem to have an impact.... From the console I can still see an empty "stack" in the App Service configuration once deployed. Does anyone know what I need to do to set "stack" to ".NET" and Major (and Minor) Version to ".NET 5"?magnificent-motherboard-76110
12/02/2021, 8:18 PMdbformmysql
server if it's needed to support ENCRYPTION='Y'
during table creation, the infrastructure_encryption
arg would be enough? or it must be configured using a Key Vault key?magnificent-motherboard-76110
12/03/2021, 12:40 AMdbformysql
flexible server in azure native?rich-cat-16319
12/06/2021, 1:07 AMcrooked-planet-47987
12/06/2021, 8:04 PMimport pulumi
import pulumi_azure_native as azure_native
integration_runtime1 = azure_native.datafactory.IntegrationRuntime("integrationRuntime1",
factory_name="df-my-test-0001",
integration_runtime_name="integrationRuntime1",
properties=azure_native.datafactory.ManagedIntegrationRuntimeArgs(
compute_properties=azure_native.datafactory.IntegrationRuntimeComputePropertiesArgs(
data_flow_properties=azure_native.datafactory.IntegrationRuntimeDataFlowPropertiesArgs(
compute_type="General",
core_count=8,
time_to_live=10,
),
location="West Europe",
),
managed_virtual_network=azure_native.datafactory.ManagedVirtualNetworkReferenceArgs(
reference_name="default",
type="ManagedVirtualNetworkReference",
),
type="Managed",
),
resource_group_name="rg-my-test-000",
opts=pulumi.ResourceOptions(protect=True))
So I assume the managed vnet need to be created first. However I am not able to find a respective resource provider in azure native / datafactory.
Any ideas?abundant-book-94104
12/08/2021, 1:01 AMidentity=azure_native.datafactory.FactoryIdentityArgs(
type="UserAssigned",
user_assigned_identities=??
What goes in the place of ??wooden-lifeguard-41446
12/10/2021, 2:28 PMcolossal-electrician-41559
12/13/2021, 5:03 PMconst recordSet = new azure_native.network.RecordSet("recordSet", {
cnameRecord: {
cname: pulumi.interpolate`${app.defaultHostName}`,
},
metadata: {
key1: "dev",
},
recordType: "CNAME",
relativeRecordSetName: "dev",
resourceGroupName: "rg",
ttl: 60,
zoneName: "<http://mycooldomain.com|mycooldomain.com>",
});
const webappbinding = new web.WebAppHostNameBinding("binding",{
name: pulumi.interpolate`${app.name}`,
resourceGroupName:resourceGroup.name,
customHostNameDnsRecordType: 'CName',
hostName:'<http://dev.mycooldomain.com|dev.mycooldomain.com>',
hostNameType:'Verified',
azureResourceType: 'Website'
});
const managedcertificate = new web.Certificate("cert",{
//hostNames: app.hostNames,
name:"devcert",
canonicalName: "<http://dev.mycooldomain.com|dev.mycooldomain.com>",
resourceGroupName: resourceGroup.name,
serverFarmId: appServicePlan.id
});
const customDomain = new azure_native.appplatform.CustomDomain("customDomain",{
appName: app.name,
domainName: '<http://dev.mycooldomain.com|dev.mycooldomain.com>',
properties:{
certName: 'devcert',
thumbprint: managedcertificate.thumbprint
},
resourceGroupName:resourceGroup.name,
serviceName: "????"
});
My question is i can't figure out what it's referring to when it's asking for a 'serviceName' on the last line. If someone could point in the documentation where i would find the reference that would be amazing. Cheers!proud-dusk-33872
12/13/2021, 10:28 PMcold-insurance-72507
12/15/2021, 8:45 AMtestproject-main-api-app-e2d426f4
instead of the default that is testproject-main-api-appe2d426f4
wooden-lifeguard-41446
12/17/2021, 9:20 AMchecking for presence of existing Automation Account "automationaccountname" (Resource Group "resourcegroupname"): automation.AccountClient#Get: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client '<mailto:user@email.com|user@email.com>' with object id 'object-id' does not have authorization to perform action 'Microsoft.Automation/automationAccounts/read' over scope '/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/automationaccountname' or the scope is invalid. If access was recently granted, please refresh your credentials."
I already gave my self every permissions (Owner, Contributor, Runbook Operator). I can create it when using AzureNative Provider.
The reason I don't want to go with AzureNative is that it only allows me to create the runbook content by using Content Link Uri.
I appreciate any help on this!rhythmic-state-74305
12/28/2021, 12:31 PMrhythmic-state-74305
12/28/2021, 12:31 PMrhythmic-state-74305
12/28/2021, 12:38 PMrhythmic-state-74305
12/28/2021, 2:00 PMcool-jewelry-33023
12/30/2021, 11:03 PMrefined-guitar-81055
12/31/2021, 2:31 PMrefined-guitar-81055
01/03/2022, 5:25 PMcolossal-room-15708
01/06/2022, 10:41 PMabundant-potato-97520
01/07/2022, 12:28 PMrhythmic-vegetable-87369
01/11/2022, 5:43 AMrhythmic-vegetable-87369
01/11/2022, 5:44 AMadorable-airport-36662
01/11/2022, 8:59 AMcreate-replacement
but actually nothing has changed in the appinsights nor the appinsights apikey. This is the diff logs:
++ azure:appinsights/apiKey:ApiKey (create-replacement)
[id=/subscriptions/[id]/resourcegroups/[resourceGroupName]/providers/microsoft.insights/components/[resourceGroupName]/apiKeys/[keyId]]
__meta : "{"....":{"create":1800000000000,"delete":1800000000000,"read":300000000000,"update":1800000000000},"schema_version":"1"}"
apiKey : "[secret]"
applicationInsightsId: "/subscriptions/[id]/resourceGroups/[resourceGroupName]/providers/Microsoft.Insights/components/[resourceGroupName]" => "/subscriptions/[id]/resourceGroups/[resourceGroupName]/providers/microsoft.insights/components/[resourceGroupName]"
id : "/subscriptions/[id]/resourcegroups/[resourceGroupName]/providers/microsoft.insights/components/[resourceGroupName]/apiKeys/[keyId]"
writePermissions : []
Does anyone have this issue as well? Any help is much appreciated! thanks!better-shampoo-48884
01/11/2022, 12:10 PMconst sub1 = AzureProvider("sub1") // returns provider for subscription 1 - where child zone should go
const sub2 = AzureProvider("sub2") // returns provider for subscription 2 - where parent zone lives
// Note: I use the same service principal + secret for both sub1 and sub2, and ensured that the SP has "DNS Zone Contributor" rights on the parent zone (sub2).
My program sets up child dns zones - so the first thing I do is verify that I can connect to the Parent zone, then when that is successful I create the child zone, then update the parent zone with the NS records of the child.
My problem is that when I run `Network.getZone()`while passing the appropriate provider - it executes the operation as me, rather than the provider specified. The same thing for the creation of the NS record using the same (sub2) provider. The creation of the zone (using sub1) does not have this problem.
const parentZone = azure.network.getZoneOutput( {
resourceGroupName: '<rg-name-redacted>',
zoneName: `${infra.deployment.domain.domainRoot}`
}, {
provider: sub2.instance
})
The reason I know this is that 1) The NS record shows in the logs as being created by me, while the child zone is created by the service principal I use for the "sub1" AzureProvider and 2) My colleagues get this error message when running the same code that works for me (I have access to the parent zone subscription, they do not):
error: Error: invocation of azure-native:network:getZone returned an error: building auth config: obtain subscription(<subscription-guid-redacted>) from Azure CLI: Error parsing json result from the Azure CLI: Error waiting for the Azure CLI: exit status 1
at Object.callback (D:\Dev\Pulumi\Project.infra\pulumi\purposes\azure-dns\node_modules\@pulumi\runtime\invoke.ts:161:33)
at Object.onReceiveStatus (D:\Dev\Pulumi\Project.infra\pulumi\purposes\azure-dns\node_modules\@grpc\grpc-js\src\client.ts:338:26)
at Object.onReceiveStatus (D:\Dev\Pulumi\Project.infra\pulumi\purposes\azure-dns\node_modules\@grpc\grpc-js\src\client-interceptors.ts:426:34)
at Object.onReceiveStatus (D:\Dev\Pulumi\Project.infra\pulumi\purposes\azure-dns\node_modules\@grpc\grpc-js\src\client-interceptors.ts:389:48)
at D:\Dev\Pulumi\Project.infra\pulumi\purposes\azure-dns\node_modules\@grpc\grpc-js\src\call-stream.ts:276:24
at processTicksAndRejections (internal/process/task_queues.js:77:11)
proud-salesmen-31441
01/12/2022, 9:14 AMquiet-hairdresser-18834
01/12/2022, 5:30 PMconst connection = new web.Connection("SqlConnection", {
connectionName: "SqlServer",
resourceGroupName: resourceGroup,
properties: {
displayName: "SqlServer",
api: {
id: apiId,
},
parameterValues: {
server: sqlServer,
database: "Logicapps",
username: sqlUsername,
password: sqlPassword,
authType: "basic",
//gateway: {
// id: "/subscriptions/"+ subscriptionId +"/resourceGroups/rg-LogicApps-DPTS/providers/Microsoft.Web/connectionGateways/gtwyvmsqlServer"
//},
"gateway": "/subscriptions/" + subscriptionId + "/resourceGroups/rg-LogicApps-DPTS/providers/Microsoft.Web/connectionGateways/gtwyvmsqlServer",
},
},
});
The ARM templates I have seen (https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/arm-template-for-creating-api-connection-to-on-premise-sql/ba-p/1450911) looks like it wants to create via
gateway: {
id: "/path/to/resource"
}
but when I try to mimic that in pulumi I get a casting exception and the docs (https://www.pulumi.com/registry/packages/azure-native/api-docs/web/connection/#apiconnectiondefinitionproperties) say that this field is a key:value field.
Is there some sort of notation that can be used to send this or am I missing something?quiet-hairdresser-18834
01/12/2022, 5:30 PMconst connection = new web.Connection("SqlConnection", {
connectionName: "SqlServer",
resourceGroupName: resourceGroup,
properties: {
displayName: "SqlServer",
api: {
id: apiId,
},
parameterValues: {
server: sqlServer,
database: "Logicapps",
username: sqlUsername,
password: sqlPassword,
authType: "basic",
//gateway: {
// id: "/subscriptions/"+ subscriptionId +"/resourceGroups/rg-LogicApps-DPTS/providers/Microsoft.Web/connectionGateways/gtwyvmsqlServer"
//},
"gateway": "/subscriptions/" + subscriptionId + "/resourceGroups/rg-LogicApps-DPTS/providers/Microsoft.Web/connectionGateways/gtwyvmsqlServer",
},
},
});
The ARM templates I have seen (https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/arm-template-for-creating-api-connection-to-on-premise-sql/ba-p/1450911) looks like it wants to create via
gateway: {
id: "/path/to/resource"
}
but when I try to mimic that in pulumi I get a casting exception and the docs (https://www.pulumi.com/registry/packages/azure-native/api-docs/web/connection/#apiconnectiondefinitionproperties) say that this field is a key:value field.
Is there some sort of notation that can be used to send this or am I missing something?