Beispiel #1
0
def set_public_ip_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        [
            constants.RESOURCE_GROUP_KEY, constants.PUBLIC_IP_KEY,
            constants.VNET_KEY, constants.SECURITY_GROUP_KEY
        ] + constants.REQUIRED_CONFIG_DATA,
        prefixed_keys=[constants.SUBNET_KEY],
        need_suffix=[constants.PUBLIC_IP_KEY])
Beispiel #2
0
def set_nic_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        required_keys=None,
        prefixed_keys=[
            constants.PUBLIC_IP_KEY, constants.PRIVATE_IP_ADDRESS_KEY,
            constants.NIC_KEY
        ],
        need_suffix=None)
def set_data_disks(azure_config, **kwargs):
    # This should be per disk issue #31
    utils.write_target_runtime_properties_to_file(required_keys=None, prefixed_keys=[constants.DATA_DISK_SIZE_KEY, constants.DATA_DISK_KEY, constants.DATA_DISK_LUN_KEY],  need_suffix=None)
def set_nic_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(required_keys=None, prefixed_keys=[constants.PUBLIC_IP_KEY, constants.PRIVATE_IP_ADDRESS_KEY, constants.NIC_KEY], need_suffix=None)
def set_storage_account_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(required_keys=[constants.RESOURCE_GROUP_KEY, constants.STORAGE_ACCOUNT_KEY]+constants.REQUIRED_CONFIG_DATA)
Beispiel #6
0
def set_dependent_resources_names(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        [constants.RESOURCE_GROUP_KEY, constants.VM_KEY] +
        constants.REQUIRED_CONFIG_DATA)
def set_dependent_resources_names(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.RESOURCE_GROUP_KEY, constants.VNET_KEY, constants.SECURITY_GROUP_KEY]+constants.REQUIRED_CONFIG_DATA, prefixed_keys=[constants.SUBNET_KEY], need_suffix=None)
def set_resource_group_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.RESOURCE_GROUP_KEY]+constants.REQUIRED_CONFIG_DATA)
Beispiel #9
0
def set_resource_group_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        [constants.RESOURCE_GROUP_KEY] + constants.REQUIRED_CONFIG_DATA)
def set_dependent_resources_names(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.RESOURCE_GROUP_KEY])
    ctx.source.instance.runtime_properties[constants.RESOURCE_GROUP_KEY] = ctx.target.instance.runtime_properties[constants.RESOURCE_GROUP_KEY] 
Beispiel #11
0
def set_vnet_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.RESOURCE_GROUP_KEY, constants.VNET_KEY, constants.SECURITY_GROUP_KEY]+constants.REQUIRED_CONFIG_DATA, [constants.SUBNET_KEY])
Beispiel #12
0
def set_public_ip_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.RESOURCE_GROUP_KEY, constants.PUBLIC_IP_KEY, constants.VNET_KEY, constants.SECURITY_GROUP_KEY]+constants.REQUIRED_CONFIG_DATA, prefixed_keys=[constants.SUBNET_KEY], need_suffix=[constants.PUBLIC_IP_KEY])
def set_dependent_resources_names(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.RESOURCE_GROUP_KEY, constants.VM_KEY]+constants.REQUIRED_CONFIG_DATA)
Beispiel #14
0
def set_vnet_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([
        constants.RESOURCE_GROUP_KEY, constants.VNET_KEY,
        constants.SECURITY_GROUP_KEY
    ] + constants.REQUIRED_CONFIG_DATA, [constants.SUBNET_KEY])
def set_security_group_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.SECURITY_GROUP_KEY])
Beispiel #16
0
def set_security_group_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        [constants.SECURITY_GROUP_KEY])
def set_subnet_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.SECURITY_GROUP_KEY], [constants.SUBNET_KEY])
Beispiel #18
0
def set_subnet_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        [constants.SECURITY_GROUP_KEY], [constants.SUBNET_KEY])
Beispiel #19
0
def set_storage_account_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(required_keys=[
        constants.RESOURCE_GROUP_KEY, constants.STORAGE_ACCOUNT_KEY
    ] + constants.REQUIRED_CONFIG_DATA)
def set_azure_config(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(constants.REQUIRED_CONFIG_DATA, prefixed_keys=None, need_suffix=None)
Beispiel #21
0
def set_data_disks(azure_config, **kwargs):
    # This should be per disk issue #31
    utils.write_target_runtime_properties_to_file(
        required_keys=None,
        prefixed_keys=[constants.DATA_DISK_SIZE_KEY, constants.DATA_DISK_KEY],
        need_suffix=None)
Beispiel #22
0
def set_azure_config(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        constants.REQUIRED_CONFIG_DATA, prefixed_keys=None, need_suffix=None)