// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.

// SecurityRules is the network Client
import Foundation
import azureSwiftRuntime
extension Commands {
public struct SecurityRules {
    public static func CreateOrUpdate(resourceGroupName: String, networkSecurityGroupName: String, securityRuleName: String, subscriptionId: String, securityRuleParameters: SecurityRuleProtocol) -> SecurityRulesCreateOrUpdate {
        return CreateOrUpdateCommand(resourceGroupName: resourceGroupName, networkSecurityGroupName: networkSecurityGroupName, securityRuleName: securityRuleName, subscriptionId: subscriptionId, securityRuleParameters: securityRuleParameters)
    }
    public static func Delete(resourceGroupName: String, networkSecurityGroupName: String, securityRuleName: String, subscriptionId: String) -> SecurityRulesDelete {
        return DeleteCommand(resourceGroupName: resourceGroupName, networkSecurityGroupName: networkSecurityGroupName, securityRuleName: securityRuleName, subscriptionId: subscriptionId)
    }
    public static func Get(resourceGroupName: String, networkSecurityGroupName: String, securityRuleName: String, subscriptionId: String) -> SecurityRulesGet {
        return GetCommand(resourceGroupName: resourceGroupName, networkSecurityGroupName: networkSecurityGroupName, securityRuleName: securityRuleName, subscriptionId: subscriptionId)
    }
    public static func List(resourceGroupName: String, networkSecurityGroupName: String, subscriptionId: String) -> SecurityRulesList {
        return ListCommand(resourceGroupName: resourceGroupName, networkSecurityGroupName: networkSecurityGroupName, subscriptionId: subscriptionId)
    }
}
}
