package com.bocloud.cmp.model.azure.account;

import com.bocloud.cmp.model.azure.blob.ContainerModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Company: 博云 www.bocloud.com
 * @ClassName: StorageAccountModel
 * @Description:
 * @author: zhenpingLi/李振平
 * @date: 2020/7/24 13:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StorageAccountModel {

    private String uuid;
    private String name;
    private String regionId;
    private String status;
    private String resourceGroupName;
    //账户类型
    private String kind;
    //如果kind是BlobStorage 则需热冷热类型
    private String accessTier;
    //复制
    private String sku;
    private String type;
    private String primaryKey; //blob服务
    private String secondaryKey;
    private String primaryConnectionString;
    private String secondaryConnectionString;
    private String primaryEndPoint;
    private String secondaryEndPoint;
    private List<ContainerModel> containers;
    private String fileEndPointPrimary;//文件存储服务
    private String fileEndPointSecondary;
    private String queueEndPointPrimary;//队列服务
    private String queueEndPointSecondary;
    private String tableEndPointPrimary;//表服务
    private String tableEndPointSecondary;
    private String customDomain;
    private String minimumTlsVersion;
    private String ipAddresses;
    private String ipAddressRanges;
    private Boolean isAccessAllNetworks;
    private List<String> subnetUuids;
    private List<StorageAccountFirewallModel> firewallModels;
    private String tags;

    //传参用
    private String ipAddress;
    private String ipAddressRange;
    private String regenerateKey; //key1,key2
    private String subnetUuid;
    private String vpcUuid;
    private String subnetName;
    //api创建的时候使用
    private String skuTier;


}