示例#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])
示例#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)
示例#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)
示例#7
0
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)
示例#8
0
def set_resource_group_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.RESOURCE_GROUP_KEY]+constants.REQUIRED_CONFIG_DATA)
示例#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] 
示例#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])
示例#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)
示例#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])
示例#15
0
def set_security_group_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.SECURITY_GROUP_KEY])
示例#16
0
def set_security_group_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        [constants.SECURITY_GROUP_KEY])
示例#17
0
def set_subnet_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file([constants.SECURITY_GROUP_KEY], [constants.SUBNET_KEY])
示例#18
0
def set_subnet_details(azure_config, **kwargs):
    utils.write_target_runtime_properties_to_file(
        [constants.SECURITY_GROUP_KEY], [constants.SUBNET_KEY])
示例#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)
示例#20
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)
示例#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)
示例#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)