Class: Fog::Network::AzureRM::ExpressRouteCircuitAuthorization
- Inherits:
-
Model
- Object
- Model
- Fog::Network::AzureRM::ExpressRouteCircuitAuthorization
- Defined in:
- lib/fog/azurerm/models/network/express_route_circuit_authorization.rb
Overview
Express Route Circuit Authorization model class for Network Service
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.parse(circuit_authorization) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/fog/azurerm/models/network/express_route_circuit_authorization.rb', line 16 def self.parse() circuit_auth_hash = get_hash_from_object() circuit_auth_hash['resource_group'] = get_resource_group_from_id(.id) circuit_auth_hash['circuit_name'] = get_circuit_name_from_id(.id) circuit_auth_hash end |
Instance Method Details
#destroy ⇒ Object
29 30 31 |
# File 'lib/fog/azurerm/models/network/express_route_circuit_authorization.rb', line 29 def destroy service.(resource_group, circuit_name, name) end |
#save ⇒ Object
23 24 25 26 27 |
# File 'lib/fog/azurerm/models/network/express_route_circuit_authorization.rb', line 23 def save requires :name, :resource_group, :circuit_name = service.() merge_attributes(Fog::Network::AzureRM::ExpressRouteCircuitAuthorization.parse()) end |