ServiceRestriction Constructor |
Namespace: OpenStack.ContentDeliveryNetworks.v1Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public ServiceRestriction(
string name,
IEnumerable<ServiceRestrictionRule> rules
)
Public Sub New (
name As String,
rules As IEnumerable(Of ServiceRestrictionRule)
)
public:
ServiceRestriction(
String^ name,
IEnumerable<ServiceRestrictionRule^>^ rules
)
new :
name : string *
rules : IEnumerable<ServiceRestrictionRule> -> ServiceRestriction
Parameters
- name
- Type: SystemString
The restriction name. - rules
- Type: System.Collections.GenericIEnumerableServiceRestrictionRule
The rules that define the restrictions to impose.
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4
See Also