/** * @return entry point to managing network security groups */ public NetworkSecurityGroups networkSecurityGroups() { return networkManager.networkSecurityGroups(); }
/** * @return entry point to managing network security groups */ public NetworkSecurityGroups networkSecurityGroups() { return networkManager.networkSecurityGroups(); }
@Override public NetworkSecurityGroup getNetworkSecurityGroup() { String nsgId = this.networkSecurityGroupId(); return (nsgId != null) ? this.parent().manager().networkSecurityGroups().getById(nsgId) : null; }
@Override public NetworkSecurityGroup getNetworkSecurityGroup() { String nsgId = this.networkSecurityGroupId(); return (nsgId != null) ? this.parent().manager().networkSecurityGroups().getById(nsgId) : null; }
@Override public NetworkSecurityGroup getNetworkSecurityGroup() { String nsgId = this.networkSecurityGroupId(); if (nsgId == null) { return null; } return this.manager() .networkSecurityGroups() .getByResourceGroup(ResourceUtils.groupFromResourceId(nsgId), ResourceUtils.nameFromResourceId(nsgId)); }
@Override public NetworkSecurityGroup getNetworkSecurityGroup() { if (this.networkSecurityGroup == null && this.networkSecurityGroupId() != null) { String id = this.networkSecurityGroupId(); this.networkSecurityGroup = super.myManager .networkSecurityGroups() .getByResourceGroup(ResourceUtils.groupFromResourceId(id), ResourceUtils.nameFromResourceId(id)); } return this.networkSecurityGroup; }
@Override public NetworkSecurityGroup getNetworkSecurityGroup() { String nsgId = this.networkSecurityGroupId(); if (nsgId == null) { return null; } return this.manager() .networkSecurityGroups() .getByResourceGroup(ResourceUtils.groupFromResourceId(nsgId), ResourceUtils.nameFromResourceId(nsgId)); }
@Override public NetworkSecurityGroup getNetworkSecurityGroup() { if (this.networkSecurityGroup == null && this.networkSecurityGroupId() != null) { String id = this.networkSecurityGroupId(); this.networkSecurityGroup = super.myManager .networkSecurityGroups() .getByResourceGroup(ResourceUtils.groupFromResourceId(id), ResourceUtils.nameFromResourceId(id)); } return this.networkSecurityGroup; }