예제 #1
0
 internal EffectiveNetworkSecurityRule(string name, EffectiveSecurityRuleProtocol?protocol, string sourcePortRange, string destinationPortRange, IReadOnlyList <string> sourcePortRanges, IReadOnlyList <string> destinationPortRanges, string sourceAddressPrefix, string destinationAddressPrefix, IReadOnlyList <string> sourceAddressPrefixes, IReadOnlyList <string> destinationAddressPrefixes, IReadOnlyList <string> expandedSourceAddressPrefix, IReadOnlyList <string> expandedDestinationAddressPrefix, SecurityRuleAccess?access, int?priority, SecurityRuleDirection?direction)
 {
     Name                             = name;
     Protocol                         = protocol;
     SourcePortRange                  = sourcePortRange;
     DestinationPortRange             = destinationPortRange;
     SourcePortRanges                 = sourcePortRanges;
     DestinationPortRanges            = destinationPortRanges;
     SourceAddressPrefix              = sourceAddressPrefix;
     DestinationAddressPrefix         = destinationAddressPrefix;
     SourceAddressPrefixes            = sourceAddressPrefixes;
     DestinationAddressPrefixes       = destinationAddressPrefixes;
     ExpandedSourceAddressPrefix      = expandedSourceAddressPrefix;
     ExpandedDestinationAddressPrefix = expandedDestinationAddressPrefix;
     Access                           = access;
     Priority                         = priority;
     Direction                        = direction;
 }
예제 #2
0
 internal SecurityRuleData(ResourceIdentifier id, string name, ResourceType?resourceType, ETag?etag, string description, SecurityRuleProtocol?protocol, string sourcePortRange, string destinationPortRange, string sourceAddressPrefix, IList <string> sourceAddressPrefixes, IList <ApplicationSecurityGroupData> sourceApplicationSecurityGroups, string destinationAddressPrefix, IList <string> destinationAddressPrefixes, IList <ApplicationSecurityGroupData> destinationApplicationSecurityGroups, IList <string> sourcePortRanges, IList <string> destinationPortRanges, SecurityRuleAccess?access, int?priority, SecurityRuleDirection?direction, NetworkProvisioningState?provisioningState) : base(id, name, resourceType)
 {
     Etag                                 = etag;
     Description                          = description;
     Protocol                             = protocol;
     SourcePortRange                      = sourcePortRange;
     DestinationPortRange                 = destinationPortRange;
     SourceAddressPrefix                  = sourceAddressPrefix;
     SourceAddressPrefixes                = sourceAddressPrefixes;
     SourceApplicationSecurityGroups      = sourceApplicationSecurityGroups;
     DestinationAddressPrefix             = destinationAddressPrefix;
     DestinationAddressPrefixes           = destinationAddressPrefixes;
     DestinationApplicationSecurityGroups = destinationApplicationSecurityGroups;
     SourcePortRanges                     = sourcePortRanges;
     DestinationPortRanges                = destinationPortRanges;
     Access                               = access;
     Priority                             = priority;
     Direction                            = direction;
     ProvisioningState                    = provisioningState;
 }
예제 #3
0
 internal SecurityRule(string id, string name, string etag, string description, SecurityRuleProtocol?protocol, string sourcePortRange, string destinationPortRange, string sourceAddressPrefix, IList <string> sourceAddressPrefixes, IList <ApplicationSecurityGroup> sourceApplicationSecurityGroups, string destinationAddressPrefix, IList <string> destinationAddressPrefixes, IList <ApplicationSecurityGroup> destinationApplicationSecurityGroups, IList <string> sourcePortRanges, IList <string> destinationPortRanges, SecurityRuleAccess?access, int?priority, SecurityRuleDirection?direction, ProvisioningState?provisioningState) : base(id)
 {
     Name                                 = name;
     Etag                                 = etag;
     Description                          = description;
     Protocol                             = protocol;
     SourcePortRange                      = sourcePortRange;
     DestinationPortRange                 = destinationPortRange;
     SourceAddressPrefix                  = sourceAddressPrefix;
     SourceAddressPrefixes                = sourceAddressPrefixes;
     SourceApplicationSecurityGroups      = sourceApplicationSecurityGroups;
     DestinationAddressPrefix             = destinationAddressPrefix;
     DestinationAddressPrefixes           = destinationAddressPrefixes;
     DestinationApplicationSecurityGroups = destinationApplicationSecurityGroups;
     SourcePortRanges                     = sourcePortRanges;
     DestinationPortRanges                = destinationPortRanges;
     Access                               = access;
     Priority                             = priority;
     Direction                            = direction;
     ProvisioningState                    = provisioningState;
 }
 internal NetworkSecurityGroupResult(SecurityRuleAccess?securityRuleAccessResult, IReadOnlyList <EvaluatedNetworkSecurityGroup> evaluatedNetworkSecurityGroups)
 {
     SecurityRuleAccessResult       = securityRuleAccessResult;
     EvaluatedNetworkSecurityGroups = evaluatedNetworkSecurityGroups;
 }