Class: Fog::Network::AzureRM::ExpressRouteCircuitAuthorizations
- Inherits:
-
Collection
- Object
- Collection
- Fog::Network::AzureRM::ExpressRouteCircuitAuthorizations
- Defined in:
- lib/fog/azurerm/models/network/express_route_circuit_authorizations.rb
Overview
ExpressRouteCircuitAuthorization collection class for Network Service
Instance Method Summary collapse
- #all ⇒ Object
- #check_express_route_cir_auth_exists(resource_group_name, circuit_name, authorization_name) ⇒ Object
- #get(resource_group_name, circuit_name, authorization_name) ⇒ Object
Instance Method Details
#all ⇒ Object
10 11 12 13 14 |
# File 'lib/fog/azurerm/models/network/express_route_circuit_authorizations.rb', line 10 def all requires :resource_group, :circuit_name = service.(resource_group, circuit_name).map { || Fog::Network::AzureRM::ExpressRouteCircuitAuthorization.parse() } load() end |
#check_express_route_cir_auth_exists(resource_group_name, circuit_name, authorization_name) ⇒ Object
22 23 24 |
# File 'lib/fog/azurerm/models/network/express_route_circuit_authorizations.rb', line 22 def check_express_route_cir_auth_exists(resource_group_name, circuit_name, ) service.check_express_route_cir_auth_exists(resource_group_name, circuit_name, ) end |
#get(resource_group_name, circuit_name, authorization_name) ⇒ Object
16 17 18 19 20 |
# File 'lib/fog/azurerm/models/network/express_route_circuit_authorizations.rb', line 16 def get(resource_group_name, circuit_name, ) = service.(resource_group_name, circuit_name, ) = Fog::Network::AzureRM::ExpressRouteCircuitAuthorization.new(service: service) .merge_attributes(Fog::Network::AzureRM::ExpressRouteCircuitAuthorization.parse()) end |