Class: Azure::Network::Mgmt::V2018_11_01::Models::SubResource

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-11-01/generated/azure_mgmt_network/models/sub_resource.rb

Overview

Reference to another subresource.

Direct Known Subclasses

ApplicationGatewayAuthenticationCertificate, ApplicationGatewayBackendAddressPool, ApplicationGatewayBackendHttpSettings, ApplicationGatewayFrontendIPConfiguration, ApplicationGatewayFrontendPort, ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, ApplicationGatewayProbe, ApplicationGatewayRedirectConfiguration, ApplicationGatewayRequestRoutingRule, ApplicationGatewayRewriteRuleSet, ApplicationGatewaySslCertificate, ApplicationGatewaySslPredefinedPolicy, ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, AzureFirewallApplicationRuleCollection, AzureFirewallIPConfiguration, AzureFirewallNatRuleCollection, AzureFirewallNetworkRuleCollection, BackendAddressPool, ConnectionSharedKey, Container, ContainerNetworkInterface, ContainerNetworkInterfaceConfiguration, Delegation, EndpointServiceResult, ExpressRouteCircuitAuthorization, ExpressRouteCircuitConnection, ExpressRouteCircuitPeering, ExpressRouteConnection, ExpressRouteCrossConnectionPeering, ExpressRouteLink, FrontendIPConfiguration, HubVirtualNetworkConnection, IPConfiguration, IPConfigurationProfile, InboundNatPool, InboundNatRule, LoadBalancingRule, NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, OutboundRule, P2SVpnServerConfigRadiusClientRootCertificate, P2SVpnServerConfigRadiusServerRootCertificate, P2SVpnServerConfigVpnClientRevokedCertificate, P2SVpnServerConfigVpnClientRootCertificate, P2SVpnServerConfiguration, PatchRouteFilter, PatchRouteFilterRule, Probe, ResourceNavigationLink, Route, RouteFilterRule, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicyDefinition, Subnet, VirtualNetworkGatewayIPConfiguration, VirtualNetworkPeering, VpnClientRevokedCertificate, VpnClientRootCertificate, VpnConnection

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

Returns Resource ID.

Returns:

  • (String)

    Resource ID.


16
17
18
# File 'lib/2018-11-01/generated/azure_mgmt_network/models/sub_resource.rb', line 16

def id
  @id
end

Class Method Details

.mapperObject

Mapper for SubResource class as Ruby Hash. This will be used for serialization/deserialization.


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/2018-11-01/generated/azure_mgmt_network/models/sub_resource.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SubResource',
    type: {
      name: 'Composite',
      class_name: 'SubResource',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end