Comments (5)
Hi @sebasviot, thank you for your feedback! You can achieve the functionality you need by setting WebSiteData.SiteConfig.IsVnetRouteAllEnabled to True. Hereβs a simple example:
var data = new WebSiteData(location)
{
IsReserved = false,
IsXenon = false,
IsHyperV = false,
SiteConfig = new SiteConfigProperties
{
NetFrameworkVersion = "v4.6",
AppSettings =
{
new AppServiceNameValuePair
{
Name = "WEBSITE_NODE_DEFAULT_VERSION",
Value = "10.14"
}
},
IsLocalMySqlEnabled = false,
IsHttp20Enabled = true,
IsVnetRouteAllEnabled = true,
},
IsScmSiteAlsoStopped = false,
IsHttpsOnly = false
};
from azure-sdk-for-net.
Thank you for your feedback. Tagging and routing to the team member best able to assist.
from azure-sdk-for-net.
I found a workaround by requesting GenericResources :
var genericData = new GenericResourceData(AzureLocation.WestEurope)
{
Properties = BinaryData.FromObjectAsJson(new Dictionary<string, object>()
{
{ "vnetRouteAllEnabled", true }
})
};
await _armClient.GetGenericResources().CreateOrUpdateAsync(
WaitUntil.Completed, myResourceId, genericData, cancellationToken);
from azure-sdk-for-net.
Hi @sebasviot. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
from azure-sdk-for-net.
Hi @mcgallan. Thanks for your reply, it works fine for me !
from azure-sdk-for-net.
Related Issues (20)
- [BUG] No way to specify local VS credentials for GraphServiceClient HOT 2
- Scopes not being included by default in the OpenTelemetry distro may be insufficiently documented HOT 2
- ManagedIdentityCredential authentication failed: Response from Managed Identity was successful, but the operation timed out prior to completion[QUERY] HOT 2
- [BUG] One of BlobContainerClient constructor overloads does not set clientSideEncryptionOptions HOT 1
- [QUERY] How can we use configuration when registering an Azure client HOT 6
- [BUG] Can't get token to connect to Azure Storage in GovCloud from Visual Studio HOT 2
- Azure AI Open AI Assistant Modify Assistant cannot remove last file [BUG] HOT 2
- Should not check response body when a DELETE LRO return 204 HOT 9
- REST API version? HOT 1
- https://www.facebook.com/nickryanpedralba?mibextid=LQQJ4d HOT 2
- [BUG] Azure.Monitor.OpenTelemetry.Exporter EventId duplicate key exception causes LogRecord to be dropped HOT 2
- [BUG] Azure.Monitor.OpenTelemetry.AspNetCore package HOT 3
- Add extension method TryGetSystemEvent to Azure.Messaging.EventGrid.SystemEvents prior to GA
- Invalid model. The model argument should be left blank error HOT 2
- [QUERY] Which exception for Azure.AI.OpenAI 2.0.0-beta, System.ClientModel.ClientResultException or Azure.RequestFailedException? HOT 2
- [BUG] Azure.Search.Documents returns 'Parital Content' Error for semantic hybrid search HOT 2
- [BUG] Synonym Maps >> Index, "modelName" Error HOT 6
- [BUG] Semantic configuration properties for prioritized keyword fields not accepting string subfields of type Collection(Edm.ComplextType) HOT 5
- [BUG] 500 Error when GetToken called in Azure App Service, but not when run locally in VS 2022 HOT 6
- [FEATURE REQ] Set client LocationIP field by default when using Azure.Monitor.OpenTelemetry.AspNetCore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-net.