ArmSqlModelFactory.NetworkIsolationSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the ARM resources for which to create private endpoint connection.
public static Azure.ResourceManager.Sql.Models.NetworkIsolationSettings NetworkIsolationSettings(Azure.Core.ResourceIdentifier storageAccountResourceId = default, Azure.Core.ResourceIdentifier sqlServerResourceId = default);
static member NetworkIsolationSettings : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.Models.NetworkIsolationSettings
Public Shared Function NetworkIsolationSettings (Optional storageAccountResourceId As ResourceIdentifier = Nothing, Optional sqlServerResourceId As ResourceIdentifier = Nothing) As NetworkIsolationSettings
Parameters
- storageAccountResourceId
- ResourceIdentifier
The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter.
- sqlServerResourceId
- ResourceIdentifier
The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation.
Returns
A new NetworkIsolationSettings instance for mocking.