Documentation ¶
Index ¶
- func New(scope SubnetScope) *aso.Service[*asonetworkv1.VirtualNetworksSubnet, SubnetScope]
- type SubnetScope
- type SubnetSpec
- func (s *SubnetSpec) Parameters(ctx context.Context, existing *asonetworkv1.VirtualNetworksSubnet) (parameters *asonetworkv1.VirtualNetworksSubnet, err error)
- func (s *SubnetSpec) ResourceRef() *asonetworkv1.VirtualNetworksSubnet
- func (s *SubnetSpec) WasManaged(resource *asonetworkv1.VirtualNetworksSubnet) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(scope SubnetScope) *aso.Service[*asonetworkv1.VirtualNetworksSubnet, SubnetScope]
New creates a new service.
Types ¶
type SubnetScope ¶
type SubnetScope interface { aso.Scope UpdateSubnetID(string, string) UpdateSubnetCIDRs(string, []string) SubnetSpecs() []azure.ASOResourceSpecGetter[*asonetworkv1.VirtualNetworksSubnet] }
SubnetScope defines the scope interface for a subnet service.
type SubnetSpec ¶ added in v1.2.0
type SubnetSpec struct { Name string ResourceGroup string SubscriptionID string CIDRs []string VNetName string VNetResourceGroup string IsVNetManaged bool RouteTableName string SecurityGroupName string NatGatewayName string ServiceEndpoints infrav1.ServiceEndpoints }
SubnetSpec defines the specification for a Subnet.
func (*SubnetSpec) Parameters ¶ added in v1.2.0
func (s *SubnetSpec) Parameters(ctx context.Context, existing *asonetworkv1.VirtualNetworksSubnet) (parameters *asonetworkv1.VirtualNetworksSubnet, err error)
Parameters implements azure.ASOResourceSpecGetter.
func (*SubnetSpec) ResourceRef ¶ added in v1.13.0
func (s *SubnetSpec) ResourceRef() *asonetworkv1.VirtualNetworksSubnet
ResourceRef implements azure.ASOResourceSpecGetter.
func (*SubnetSpec) WasManaged ¶ added in v1.13.0
func (s *SubnetSpec) WasManaged(resource *asonetworkv1.VirtualNetworksSubnet) bool
WasManaged implements azure.ASOResourceSpecGetter.
Directories ¶
Path | Synopsis |
---|---|
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
Click to show internal directories.
Click to hide internal directories.