def Args(cls, parser): cls.INTERCONNECT_ARG = ( interconnect_flags.InterconnectArgumentForOtherResource( 'The interconnect for the interconnect attachment')) cls.INTERCONNECT_ARG.AddArgument(parser) cls.ROUTER_ARG = router_flags.RouterArgumentForOtherResources() cls.ROUTER_ARG.AddArgument(parser) cls.INTERCONNECT_ATTACHMENT_ARG = ( attachment_flags.InterconnectAttachmentArgument()) cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser, operation_type='create') attachment_flags.AddDescription(parser) attachment_flags.AddAdminEnabled(parser, default_behavior=True) attachment_flags.AddVlan(parser) attachment_flags.AddCandidateSubnets(parser) attachment_flags.AddBandwidth(parser, required=False) attachment_flags.AddMtu(parser) attachment_flags.AddEncryption(parser) attachment_flags.GetIpsecInternalAddressesFlag().AddToParser(parser) attachment_flags.AddStackType(parser) attachment_flags.AddCandidateIpv6Subnets(parser) attachment_flags.AddCloudRouterIpv6InterfaceId(parser) attachment_flags.AddCustomerRouterIpv6InterfaceId(parser)
def Args(cls, parser): cls.INTERCONNECT_ARG = ( interconnect_flags.InterconnectArgumentForOtherResource( 'The interconnect for the interconnect attachment')) cls.INTERCONNECT_ARG.AddArgument(parser) cls.ROUTER_ARG = router_flags.RouterArgumentForOtherResources() cls.ROUTER_ARG.AddArgument(parser) cls.INTERCONNECT_ATTACHMENT_ARG = ( attachment_flags.InterconnectAttachmentArgument()) cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser, operation_type='create') attachment_flags.AddDescription(parser) attachment_flags.AddAdminEnabled(parser, default_behavior=True) attachment_flags.AddVlan(parser) attachment_flags.AddCandidateSubnets(parser)
def Args(cls, parser): cls.INTERCONNECT_ARG = ( interconnect_flags.InterconnectArgumentForOtherResource( 'The interconnect for the interconnect attachment')) cls.INTERCONNECT_ARG.AddArgument(parser) cls.INTERCONNECT_ATTACHMENT_ARG = ( attachment_flags.InterconnectAttachmentArgument()) cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser, operation_type='create') attachment_flags.AddBandwidth(parser, required=True) attachment_flags.AddVlan(parser) attachment_flags.AddPartnerAsn(parser) attachment_flags.AddPartnerMetadata(parser, required=True) attachment_flags.AddPairingKey(parser) attachment_flags.AddDescription(parser) attachment_flags.AddCandidateSubnets(parser)