/** * Copyright (c) 2015-2016 Inria * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * -Fawaz Paraiso <fawaz.paraiso@inria.fr> * - Philippe Merle <philippe.merle@inria.fr> */ package org.occiware.clouddesigner.occi.docker; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Machine Microsoft Azure</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSubscription_id <em>Subscription id</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSubscription_cert <em>Subscription cert</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getEnvironment <em>Environment</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getLocation <em>Location</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getResource_group <em>Resource group</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSize <em>Size</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSsh_user <em>Ssh user</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getVnet <em>Vnet</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSubnet <em>Subnet</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSubnet_prefix <em>Subnet prefix</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getAvailability_set <em>Availability set</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getOpen_port <em>Open port</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getPrivate_ip_address <em>Private ip address</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getNo_public_ip <em>No public ip</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getStatic_public_ip <em>Static public ip</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getDocker_port <em>Docker port</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getUse_private_ip <em>Use private ip</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getImage <em>Image</em>}</li> * </ul> * * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure() * @model annotation="OCCIE2Ecore title='Machine on Microsoft Azure'" * @generated */ public interface Machine_Microsoft_Azure extends Machine { /** * Returns the value of the '<em><b>Subscription id</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Subscription id</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Subscription id</em>' attribute. * @see #setSubscription_id(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Subscription_id() * @model dataType="org.occiware.clouddesigner.occi.String" required="true" * annotation="OCCIE2Ecore description='Your Azure subscription ID (A GUID like d255d8d7-5af0-4f5c-8a3e-1545044b861e)'" * @generated */ String getSubscription_id(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSubscription_id <em>Subscription id</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Subscription id</em>' attribute. * @see #getSubscription_id() * @generated */ void setSubscription_id(String value); /** * Returns the value of the '<em><b>Subscription cert</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Subscription cert</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Subscription cert</em>' attribute. * @see #setSubscription_cert(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Subscription_cert() * @model dataType="org.occiware.clouddesigner.occi.String" required="true" * annotation="OCCIE2Ecore description='Your Azure subscription cert'" * @generated */ String getSubscription_cert(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSubscription_cert <em>Subscription cert</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Subscription cert</em>' attribute. * @see #getSubscription_cert() * @generated */ void setSubscription_cert(String value); /** * Returns the value of the '<em><b>Environment</b></em>' attribute. * The default value is <code>"AzurePublicCloud"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Environment</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Environment</em>' attribute. * @see #setEnvironment(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Environment() * @model default="AzurePublicCloud" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Azure environment (e.g. AzurePublicCloud, AzureChinaCloud).'" * @generated */ String getEnvironment(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getEnvironment <em>Environment</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Environment</em>' attribute. * @see #getEnvironment() * @generated */ void setEnvironment(String value); /** * Returns the value of the '<em><b>Location</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Location</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Location</em>' attribute. * @see #setLocation(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Location() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Azure region to create the virtual machine.'" * @generated */ String getLocation(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getLocation <em>Location</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Location</em>' attribute. * @see #getLocation() * @generated */ void setLocation(String value); /** * Returns the value of the '<em><b>Resource group</b></em>' attribute. * The default value is <code>"docker-machine"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Resource group</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Resource group</em>' attribute. * @see #setResource_group(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Resource_group() * @model default="docker-machine" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Azure Resource Group name to create the resources in.'" * @generated */ String getResource_group(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getResource_group <em>Resource group</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Resource group</em>' attribute. * @see #getResource_group() * @generated */ void setResource_group(String value); /** * Returns the value of the '<em><b>Size</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Size</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Size</em>' attribute. * @see #setSize(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Size() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Size for Azure Virtual Machine.'" * @generated */ String getSize(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSize <em>Size</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Size</em>' attribute. * @see #getSize() * @generated */ void setSize(String value); /** * Returns the value of the '<em><b>Ssh user</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Ssh user</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Ssh user</em>' attribute. * @see #setSsh_user(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Ssh_user() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Username for SSH login.'" * @generated */ String getSsh_user(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSsh_user <em>Ssh user</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Ssh user</em>' attribute. * @see #getSsh_user() * @generated */ void setSsh_user(String value); /** * Returns the value of the '<em><b>Vnet</b></em>' attribute. * The default value is <code>"docker-machine"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Vnet</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Vnet</em>' attribute. * @see #setVnet(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Vnet() * @model default="docker-machine" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Azure Virtual Network name to connect the virtual machine. To specify a Virtual Network from another resource group, use resourcegroup:vnet-name format.'" * @generated */ String getVnet(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getVnet <em>Vnet</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Vnet</em>' attribute. * @see #getVnet() * @generated */ void setVnet(String value); /** * Returns the value of the '<em><b>Subnet</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Subnet</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Subnet</em>' attribute. * @see #setSubnet(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Subnet() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Azure Subnet Name to be used within the Virtual Network.'" * @generated */ String getSubnet(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSubnet <em>Subnet</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Subnet</em>' attribute. * @see #getSubnet() * @generated */ void setSubnet(String value); /** * Returns the value of the '<em><b>Subnet prefix</b></em>' attribute. * The default value is <code>"192.168.0.0/16"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Subnet prefix</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Subnet prefix</em>' attribute. * @see #setSubnet_prefix(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Subnet_prefix() * @model default="192.168.0.0/16" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Private CIDR block. Used to create subnet if it does not exist. Must match in the case that the subnet does exist.'" * @generated */ String getSubnet_prefix(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getSubnet_prefix <em>Subnet prefix</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Subnet prefix</em>' attribute. * @see #getSubnet_prefix() * @generated */ void setSubnet_prefix(String value); /** * Returns the value of the '<em><b>Availability set</b></em>' attribute. * The default value is <code>"docker-machine"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Availability set</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Availability set</em>' attribute. * @see #setAvailability_set(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Availability_set() * @model default="docker-machine" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Azure Availability Set to place the virtual machine into.'" * @generated */ String getAvailability_set(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getAvailability_set <em>Availability set</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Availability set</em>' attribute. * @see #getAvailability_set() * @generated */ void setAvailability_set(String value); /** * Returns the value of the '<em><b>Open port</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Open port</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Open port</em>' attribute. * @see #setOpen_port(int) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Open_port() * @model dataType="org.occiware.clouddesigner.occi.Number" * annotation="OCCIE2Ecore description=' Make additional port number(s) accessible from the Internet'" * @generated */ int getOpen_port(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getOpen_port <em>Open port</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Open port</em>' attribute. * @see #getOpen_port() * @generated */ void setOpen_port(int value); /** * Returns the value of the '<em><b>Private ip address</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Private ip address</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Private ip address</em>' attribute. * @see #setPrivate_ip_address(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Private_ip_address() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Specify a static private IP address for the machine.'" * @generated */ String getPrivate_ip_address(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getPrivate_ip_address <em>Private ip address</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Private ip address</em>' attribute. * @see #getPrivate_ip_address() * @generated */ void setPrivate_ip_address(String value); /** * Returns the value of the '<em><b>No public ip</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>No public ip</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>No public ip</em>' attribute. * @see #setNo_public_ip(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_No_public_ip() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Do not create a public IP address for the machine (implies --azure-use-private-ip). '" * @generated */ String getNo_public_ip(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getNo_public_ip <em>No public ip</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>No public ip</em>' attribute. * @see #getNo_public_ip() * @generated */ void setNo_public_ip(String value); /** * Returns the value of the '<em><b>Static public ip</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Static public ip</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Static public ip</em>' attribute. * @see #setStatic_public_ip(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Static_public_ip() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Assign a static public IP address to the machine.'" * @generated */ String getStatic_public_ip(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getStatic_public_ip <em>Static public ip</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Static public ip</em>' attribute. * @see #getStatic_public_ip() * @generated */ void setStatic_public_ip(String value); /** * Returns the value of the '<em><b>Docker port</b></em>' attribute. * The default value is <code>"2376"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Docker port</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Docker port</em>' attribute. * @see #setDocker_port(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Docker_port() * @model default="2376" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Port number for Docker engine.'" * @generated */ String getDocker_port(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getDocker_port <em>Docker port</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Docker port</em>' attribute. * @see #getDocker_port() * @generated */ void setDocker_port(String value); /** * Returns the value of the '<em><b>Use private ip</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Use private ip</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Use private ip</em>' attribute. * @see #setUse_private_ip(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Use_private_ip() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description=' Use private IP address of the machine to connect. It\u2019s useful for managing Docker machines from another machine on the same network e.g. while deploying Swarm.'" * @generated */ String getUse_private_ip(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getUse_private_ip <em>Use private ip</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Use private ip</em>' attribute. * @see #getUse_private_ip() * @generated */ void setUse_private_ip(String value); /** * Returns the value of the '<em><b>Image</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Image</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Image</em>' attribute. * @see #setImage(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Microsoft_Azure_Image() * @model dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Azure virtual machine image in the format of Publisher:Offer:Sku:Version'" * @generated */ String getImage(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Microsoft_Azure#getImage <em>Image</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Image</em>' attribute. * @see #getImage() * @generated */ void setImage(String value); } // Machine_Microsoft_Azure