-
Notifications
You must be signed in to change notification settings - Fork 4k
New-AzSqlElasticJobPrivateEndpoint will not complete #27873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Using this code the process does not hang! Please explain this one as it uses the same API version and the ( Terraform, and the New-AzSqlElasticJobPrivateEndpoint where the process hangs Unless the Private link is approved in the Azure portal ) $SourceResourceGroupName='rg-xxxxx';
|
Could it be that the code first try's to Get and this is the issue, As the code I shown above is doing a put, and the put part of the code above in the Debug works DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: Absolute Uri: |
Powershell code that will create the endpoint without hanging:
|
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub. |
1 similar comment
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub. |
Description
This Module will not complete after adding all parameters. I can see in the portal that the object was created, but will not complete unless I got to the private link and approve then it powershell session will complete
$agent | New-AzSqlElasticJobPrivateEndpoint -Name "pename-i-am-using" -TargetServerAzureResourceId "/subscriptions/xxxxxxxxxx/resourceGroups/xxxxxxx/providers/Microsoft.Sql/servers/sql-xxxxxxxxxxx"
az 14.0.0
there is no debug output,
azapi = {
source = "azure/azapi"
version = "2.4.0"
}
Just as an fyi I am have the same issues with Terraform
resource "azapi_resource" "privateEndpoint1" {
type = "Microsoft.Sql/servers/jobAgents/privateEndpoints@2024-05-01-preview"}
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: