コード例 #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)
コード例 #3
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, constants.DATA_DISK_LUN_KEY],  need_suffix=None)
コード例 #4
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)
コード例 #5
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)
コード例 #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)
コード例 #10
0
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])
コード例 #13
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)
コード例 #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)