Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 176561

[VRA 8.1] Deploy IaaS VM to Azure creates extra availability set(which we do not want)

$
0
0

Hi All

 

 

 

Is there a way to deploy VM to Azure without creating public IP and availability set by default using Azure Cloud VM in BluePrint?

 

 

 

Below is my resource code part

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

resources:
  Cloud_Network_1:
    type: Cloud.Network
    properties:
      networkType: existing
      constraints:
        - tag: '${input.Cloud}'
        - tag: '${input.Region}'
        - tag: '${input.Environment}'
        - tag: '${input.Tenant}'
        - tag: '${input.Tier}'
  Cloud_Azure_Machine_1:
    type: Cloud.Azure.Machine
    constraints:
      - tag: '${input.Cloud}'
      - tag: '${input.Region}'
    properties:
      name: '${input.Hostname}'
      image: '${input.Image}'
      flavor: '${input.Flavor}'
      resourceGroupName: '${input.RG}'
      tags: '${input.Tags}'
      networks:
        - network: '${resource.Cloud_Network_1.id}'

 

resources:

 

  Cloud_Network_1:

 

    type: Cloud.Network

 

    properties:

 

      networkType: existing

 

      constraints:

 

        - tag: '${input.Cloud}'

 

        - tag: '${input.Region}'

 

        - tag: '${input.Environment}'

 

        - tag: '${input.Tenant}'

 

        - tag: '${input.Tier}'

 

  Cloud_Azure_Machine_1:

 

    type: Cloud.Azure.Machine

 

    constraints:

 

      - tag: '${input.Cloud}'

 

      - tag: '${input.Region}'

 

    properties:

 

      name: '${input.Hostname}'

 

      image: '${input.Image}'

 

      flavor: '${input.Flavor}'

 

      resourceGroupName: '${input.RG}'

 

      tags: '${input.Tags}'

 

      networks:

 

        - network: '${resource.Cloud_Network_1.id}'

Viewing all articles
Browse latest Browse all 176561

Trending Articles