Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a rule at the specified priority.
See: Compute Engine API Reference for compute.securityPolicies.removeRule
.
Synopsis
- type SecurityPoliciesRemoveRuleResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("securityPolicies" :> (Capture "securityPolicy" Text :> ("removeRule" :> (QueryParam "priority" (Textual Int32) :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))
- securityPoliciesRemoveRule :: Text -> Text -> SecurityPoliciesRemoveRule
- data SecurityPoliciesRemoveRule
- sprrPriority :: Lens' SecurityPoliciesRemoveRule (Maybe Int32)
- sprrProject :: Lens' SecurityPoliciesRemoveRule Text
- sprrSecurityPolicy :: Lens' SecurityPoliciesRemoveRule Text
REST Resource
type SecurityPoliciesRemoveRuleResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("securityPolicies" :> (Capture "securityPolicy" Text :> ("removeRule" :> (QueryParam "priority" (Textual Int32) :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))) Source #
A resource alias for compute.securityPolicies.removeRule
method which the
SecurityPoliciesRemoveRule
request conforms to.
Creating a Request
securityPoliciesRemoveRule Source #
Creates a value of SecurityPoliciesRemoveRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SecurityPoliciesRemoveRule Source #
Deletes a rule at the specified priority.
See: securityPoliciesRemoveRule
smart constructor.
Instances
Request Lenses
sprrPriority :: Lens' SecurityPoliciesRemoveRule (Maybe Int32) Source #
The priority of the rule to remove from the security policy.
sprrProject :: Lens' SecurityPoliciesRemoveRule Text Source #
Project ID for this request.
sprrSecurityPolicy :: Lens' SecurityPoliciesRemoveRule Text Source #
Name of the security policy to update.