Codota Logo
SubResource.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.microsoft.azure.SubResource
constructor

Best Java code snippets using com.microsoft.azure.SubResource.<init> (Showing top 20 results out of 315)

Refine searchRefine arrow

  • SubResource.withId
  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: com.microsoft.azure/azure-mgmt-network

  @Override
  public VirtualNetworkGatewayIPConfigurationImpl withExistingPublicIPAddress(String resourceId) {
    SubResource pipRef = new SubResource().withId(resourceId);
    this.inner().withPublicIPAddress(pipRef);
    return this;
  }
}
origin: com.microsoft.azure/azure-mgmt-network

@Override
public ApplicationGatewayIPConfigurationImpl withExistingSubnet(String networkId, String subnetName) {
  SubResource subnetRef = new SubResource().withId(networkId + "/subnets/" + subnetName);
  this.inner().withSubnet(subnetRef);
  return this;
}
origin: com.microsoft.azure/azure-mgmt-network

@Override
public VirtualNetworkGatewayIPConfigurationImpl withExistingSubnet(String networkId, String subnetName) {
  SubResource subnetRef = new SubResource().withId(networkId + "/subnets/" + subnetName);
  this.inner().withSubnet(subnetRef);
  return this;
}
origin: com.microsoft.azure/azure-mgmt-compute

@Override
public CustomImageDataDiskImpl fromManagedDisk(String sourceManagedDiskId) {
  this.inner().withManagedDisk(new SubResource().withId(sourceManagedDiskId));
  return this;
}
origin: com.microsoft.azure/azure-mgmt-compute

@Override
public CustomImageDataDiskImpl fromSnapshot(String sourceSnapshotId) {
  this.inner().withSnapshot(new SubResource().withId(sourceSnapshotId));
  return this;
}
origin: com.microsoft.azure/azure-mgmt-compute

@Override
public VirtualMachineScaleSetImpl withExistingNetworkSecurityGroupId(String networkSecurityGroupId) {
  VirtualMachineScaleSetNetworkConfiguration nicConfig = this.primaryNicConfiguration();
  nicConfig.withNetworkSecurityGroup(new SubResource().withId(networkSecurityGroupId));
  return this;
}
origin: Azure/azure-libraries-for-java

@Override
public VirtualMachineScaleSetImpl withExistingNetworkSecurityGroupId(String networkSecurityGroupId) {
  VirtualMachineScaleSetNetworkConfiguration nicConfig = this.primaryNicConfiguration();
  nicConfig.withNetworkSecurityGroup(new SubResource().withId(networkSecurityGroupId));
  return this;
}
origin: Azure/azure-libraries-for-java

@Override
public CustomImageDataDiskImpl fromManagedDisk(String sourceManagedDiskId) {
  this.inner().withManagedDisk(new SubResource().withId(sourceManagedDiskId));
  return this;
}
origin: com.microsoft.azure/azure-mgmt-compute

@Override
public VirtualMachineCustomImageImpl fromVirtualMachine(String virtualMachineId) {
  this.inner().withSourceVirtualMachine(new SubResource().withId(virtualMachineId));
  return this;
}
origin: Azure/azure-libraries-for-java

@Override
public ApplicationGatewayIPConfigurationImpl withExistingSubnet(String networkId, String subnetName) {
  SubResource subnetRef = new SubResource().withId(networkId + "/subnets/" + subnetName);
  this.inner().withSubnet(subnetRef);
  return this;
}
origin: com.microsoft.azure/azure-mgmt-network

@Override
public NetworkImpl withExistingDdosProtectionPlan(String planId) {
  inner().withEnableDdosProtection(true).withDdosProtectionPlan(new SubResource().withId(planId));
  return this;
}
origin: com.microsoft.azure/azure-mgmt-network

@Override
public TopologyImpl withTargetSubnet(String subnetName) {
  parameters.withTargetSubnet(new SubResource().withId(parameters.targetVirtualNetwork().id() + "/subnets/" + subnetName));
  return this;
}
origin: com.microsoft.azure/azure-mgmt-compute

@Override
public VirtualMachineScaleSetImpl withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup) {
  VirtualMachineScaleSetNetworkConfiguration nicConfig = this.primaryNicConfiguration();
  nicConfig.withNetworkSecurityGroup(new SubResource().withId(networkSecurityGroup.id()));
  return this;
}
origin: Azure/azure-libraries-for-java

@Override
public VirtualMachineScaleSetImpl withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup) {
  VirtualMachineScaleSetNetworkConfiguration nicConfig = this.primaryNicConfiguration();
  nicConfig.withNetworkSecurityGroup(new SubResource().withId(networkSecurityGroup.id()));
  return this;
}
origin: Azure/azure-libraries-for-java

@Override
public TopologyImpl withTargetSubnet(String subnetName) {
  parameters.withTargetSubnet(new SubResource().withId(parameters.targetVirtualNetwork().id() + "/subnets/" + subnetName));
  return this;
}
origin: Azure/azure-libraries-for-java

@Override
public ApplicationGatewayFrontendImpl withExistingPublicIPAddress(String resourceId) {
  SubResource pipRef = new SubResource().withId(resourceId);
  this.inner().withPublicIPAddress(pipRef);
  this.withoutSubnet(); // Ensure no conflicting public and private settings
  return this;
}
origin: com.microsoft.azure/azure-mgmt-compute

@Override
public CustomImageDataDiskImpl fromManagedDisk(Disk sourceManagedDisk) {
  this.inner().withManagedDisk(new SubResource().withId(sourceManagedDisk.id()));
  return this;
}
origin: Azure/azure-libraries-for-java

@Override
public CustomImageDataDiskImpl fromManagedDisk(Disk sourceManagedDisk) {
  this.inner().withManagedDisk(new SubResource().withId(sourceManagedDisk.id()));
  return this;
}
origin: com.microsoft.azure/azure-mgmt-network

@Override
public ApplicationGatewayRequestRoutingRuleImpl fromListener(String name) {
  SubResource listenerRef = new SubResource()
      .withId(this.parent().futureResourceId() + "/HTTPListeners/" + name);
  this.inner().withHttpListener(listenerRef);
  return this;
}
origin: com.microsoft.azure/azure-mgmt-network

private ApplicationGatewayListenerImpl withFrontend(String name) {
  SubResource frontendRef = new SubResource()
      .withId(this.parent().futureResourceId() + "/frontendIPConfigurations/" + name);
  this.inner().withFrontendIPConfiguration(frontendRef);
  return this;
}
com.microsoft.azureSubResource<init>

Popular methods of SubResource

  • id
  • withId

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • setContentView (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now