withServiceDelegation
Method
interface AzureSubnetResource { // ... omitted for brevity withServiceDelegation( serviceName: string, name?: string): AzureSubnetResource;}Signature
method
withServiceDelegation builderDelegates the subnet to the specified Azure service.
withServiceDelegation( serviceName: string, name?: string): AzureSubnetResourceParameters
serviceName stringThe service name to delegate the subnet to (e.g., "Microsoft.App/environments"). See `AzureSubnetServiceDelegations` for well-known values.namestringoptionalThe name of the service delegation. If not specified, defaults to `serviceName`.Returns
AzureSubnetResource Applies to
This method applies to the following types: