Watch Aspire live streamsDocsTry Aspire

NetworkAdminRuleProxy

Handle
📦 Aspire.Hosting.Azure.Provisioning.Network v13.6.0-preview.1.26478.8
interface NetworkAdminRuleProxy {
access: BicepValueProxy | SecurityConfigurationRuleAccess;
description: BicepValueProxy | string;
destinationPortRanges: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
destinations: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfAddressPrefixItemProxy;
direction: BicepValueProxy | SecurityConfigurationRuleDirection;
priority: BicepValueProxy | number;
protocol: BicepValueProxy | SecurityConfigurationRuleProtocol;
readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
readonly resourceGuid: BicepValueProxy | guid;
sourcePortRanges: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
sources: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfAddressPrefixItemProxy;
addTo(infrastructure: AzureResourceInfrastructure): void;
clearAccess(): void;
clearDescription(): void;
clearDirection(): void;
clearPriority(): void;
clearProtocol(): void;
}

Properties

propertyaccessBicepValueProxy | SecurityConfigurationRuleAccessget · set
Gets or sets the Access provisioning property.
propertydescriptionBicepValueProxy | stringget · set
Gets or sets the Description provisioning property.
propertydestinationPortRangesAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxyget · set
Gets or sets the DestinationPortRanges provisioning property.
propertydestinationsAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfAddressPrefixItemProxyget · set
Gets or sets the Destinations provisioning property.
propertydirectionBicepValueProxy | SecurityConfigurationRuleDirectionget · set
Gets or sets the Direction provisioning property.
propertypriorityBicepValueProxy | numberget · set
Gets or sets the Priority provisioning property.
propertyprotocolBicepValueProxy | SecurityConfigurationRuleProtocolget · set
Gets or sets the Protocol provisioning property.
propertyprovisioningStateBicepValueProxy | NetworkProvisioningStateget
Gets the ProvisioningState provisioning property.
propertyresourceGuidBicepValueProxy | guidget
Gets the ResourceGuid provisioning property.
propertysourcePortRangesAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxyget · set
Gets or sets the SourcePortRanges provisioning property.
propertysourcesAspire_Hosting_Azure_Provisioning_Network_Generated_ListOfAddressPrefixItemProxyget · set
Gets or sets the Sources provisioning property.

Methods

methodaddTo
Adds this provisioning resource to the Azure resource infrastructure.
addTo(infrastructure: AzureResourceInfrastructure): void
infrastructureAzureResourceInfrastructure
Clears the Access provisioning property.
clearAccess(): void
Clears the Description provisioning property.
clearDescription(): void
Clears the Direction provisioning property.
clearDirection(): void
Clears the Priority provisioning property.
clearPriority(): void
Clears the Protocol provisioning property.
clearProtocol(): void