Ejemplo n.º 1
0
        public NetworkInterface CreateOrUpdateNetworkInterface(string resourceGroupName, string networkInterfaceName, NetworkInterface networkInterface)
        {
            NetworkInterface result;

            PutResource(URIs.NetworkInterfaces_CreateOrUpdate(SubscriptionId, resourceGroupName, networkInterfaceName), networkInterface, out result);
            return(result);
        }
Ejemplo n.º 2
0
 public PublicIPAddress GetPublicIPAddress(string resourceGroupName, string publicIPAddressName)
 {
     return(GetResource <PublicIPAddress>(URIs.PublicIPAddresses_Get(SubscriptionId, resourceGroupName, publicIPAddressName)));
 }
Ejemplo n.º 3
0
 public NetworkSecurityGroup GetNetworkSecurityGroup(string resourceGroupName, string securityGroupName)
 {
     return(GetResource <NetworkSecurityGroup>(URIs.NetworkSecurityGroups_Get(SubscriptionId, resourceGroupName, securityGroupName)));
 }
Ejemplo n.º 4
0
 public Subnet GetSubnet(string resourceGroupName, string virtualNetworkName, string subnetName)
 {
     return(GetResource <Subnet>(URIs.Subnets_Get(SubscriptionId, resourceGroupName, virtualNetworkName, subnetName)));
 }