Share via


Microsoft.NetApp netAppAccounts/snapshotPolicies 2021-02-01

Bicep 리소스 정의

netAppAccounts/snapshotPolicies 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.NetApp/netAppAccounts/snapshotPolicies 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.

resource symbolicname 'Microsoft.NetApp/netAppAccounts/snapshotPolicies@2021-02-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  properties: {
    dailySchedule: {
      hour: int
      minute: int
      snapshotsToKeep: int
      usedBytes: int
    }
    enabled: bool
    hourlySchedule: {
      minute: int
      snapshotsToKeep: int
      usedBytes: int
    }
    monthlySchedule: {
      daysOfMonth: 'string'
      hour: int
      minute: int
      snapshotsToKeep: int
      usedBytes: int
    }
    weeklySchedule: {
      day: 'string'
      hour: int
      minute: int
      snapshotsToKeep: int
      usedBytes: int
    }
  }
}

속성 값

netAppAccounts/snapshotPolicies

Name Description
name 리소스 이름

Bicep에서 자식 리소스의 이름과 형식을 설정하는 방법을 참조하세요.
string(필수)

문자 제한: 1-64

유효한 문자:
영숫자, 밑줄 및 하이픈

영숫자로 시작합니다.
위치 리소스 위치 string(필수)
tags 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿의 태그를 참조하세요.
부모(parent) Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가하면 됩니다.

자세한 내용은 부모 리소스 외부의 자식 리소스를 참조하세요.
형식의 리소스에 대한 기호 이름: netAppAccounts
properties 스냅샷 정책 속성 SnapshotPolicyProperties (필수)

SnapshotPolicyProperties

Name Description
dailySchedule 일일 스냅샷 예약 DailySchedule
사용 정책을 결정할 속성이 활성화되어 있는지 여부 bool
hourlySchedule 시간별 스냅샷 예약 HourlySchedule
monthlySchedule 월별 스냅샷 예약 MonthlySchedule
weeklySchedule 주간 스냅샷 예약 WeeklySchedule

DailySchedule

Name Description
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 스냅샷 수행해야 하는 분을 나타냅니다. int
snapshotsToKeep 유지할 일일 스냅샷 개수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

HourlySchedule

Name Description
minute 스냅샷 수행해야 하는 분을 나타냅니다. int
snapshotsToKeep 유지할 시간별 스냅샷 개수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

MonthlySchedule

Name Description
daysOfMonth 스냅샷 수행해야 하는 월의 일을 나타냅니다. 쉼표로 구분된 문자열입니다. 문자열
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 스냅샷 수행해야 하는 분을 나타냅니다. int
snapshotsToKeep 유지할 월별 스냅샷 수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

WeeklySchedule

Name Description
스냅샷 수행해야 하는 평일을 나타내고, 쉼표로 구분된 요일 이름 목록을 영어로 허용합니다. string
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 스냅샷 수행해야 하는 분을 나타냅니다. int
snapshotsToKeep 유지할 주간 스냅샷 개수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

ARM 템플릿 리소스 정의

netAppAccounts/snapshotPolicies 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.NetApp/netAppAccounts/snapshotPolicies 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.

{
  "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
  "apiVersion": "2021-02-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "dailySchedule": {
      "hour": "int",
      "minute": "int",
      "snapshotsToKeep": "int",
      "usedBytes": "int"
    },
    "enabled": "bool",
    "hourlySchedule": {
      "minute": "int",
      "snapshotsToKeep": "int",
      "usedBytes": "int"
    },
    "monthlySchedule": {
      "daysOfMonth": "string",
      "hour": "int",
      "minute": "int",
      "snapshotsToKeep": "int",
      "usedBytes": "int"
    },
    "weeklySchedule": {
      "day": "string",
      "hour": "int",
      "minute": "int",
      "snapshotsToKeep": "int",
      "usedBytes": "int"
    }
  }
}

속성 값

netAppAccounts/snapshotPolicies

Name Description
형식 리소스 종류 'Microsoft.NetApp/netAppAccounts/snapshotPolicies'
apiVersion 리소스 api 버전 '2021-02-01'
name 리소스 이름

JSON ARM 템플릿에서 자식 리소스의 이름 및 형식을 설정하는 방법을 참조하세요.
string(필수)

문자 제한: 1-64

유효한 문자:
영숫자, 밑줄 및 하이픈

영숫자로 시작합니다.
위치 리소스 위치 string(필수)
tags 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿의 태그를 참조하세요.
properties 스냅샷 정책 속성 SnapshotPolicyProperties (필수)

SnapshotPolicyProperties

Name Description
dailySchedule 일일 스냅샷 예약 DailySchedule
사용 정책을 결정할 속성이 활성화되어 있는지 여부 bool
hourlySchedule 시간별 스냅샷 예약 HourlySchedule
monthlySchedule 월별 스냅샷 예약 MonthlySchedule
weeklySchedule 주간 스냅샷 예약 WeeklySchedule

DailySchedule

Name Description
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 수행해야 하는 분 스냅샷 나타냅니다. int
snapshotsToKeep 유지할 일일 스냅샷 수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

HourlySchedule

Name Description
minute 수행해야 하는 분 스냅샷 나타냅니다. int
snapshotsToKeep 유지할 시간별 스냅샷 수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

MonthlySchedule

Name Description
daysOfMonth 스냅샷 스냅샷 월의 날짜를 나타냅니다. 쉼표로 구분된 문자열입니다. 문자열
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 수행해야 하는 분 스냅샷 나타냅니다. int
snapshotsToKeep 유지할 월별 스냅샷 수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

WeeklySchedule

Name Description
스냅샷 평일을 나타내고 쉼표로 구분된 요일 이름 목록을 영어로 허용합니다. string
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 수행해야 하는 분 스냅샷 나타냅니다. int
snapshotsToKeep 유지할 주간 스냅샷 수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

Terraform(AzAPI 공급자) 리소스 정의

netAppAccounts/snapshotPolicies 리소스 종류는 다음을 대상으로 하는 작업과 함께 배포할 수 있습니다.

  • 리소스 그룹

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.NetApp/netAppAccounts/snapshotPolicies 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.NetApp/netAppAccounts/snapshotPolicies@2021-02-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      dailySchedule = {
        hour = int
        minute = int
        snapshotsToKeep = int
        usedBytes = int
      }
      enabled = bool
      hourlySchedule = {
        minute = int
        snapshotsToKeep = int
        usedBytes = int
      }
      monthlySchedule = {
        daysOfMonth = "string"
        hour = int
        minute = int
        snapshotsToKeep = int
        usedBytes = int
      }
      weeklySchedule = {
        day = "string"
        hour = int
        minute = int
        snapshotsToKeep = int
        usedBytes = int
      }
    }
  })
}

속성 값

netAppAccounts/snapshotPolicies

Name Description
형식 리소스 종류 "Microsoft.NetApp/netAppAccounts/snapshotPolicies@2021-02-01"
name 리소스 이름 string(필수)

문자 제한: 1-64

유효한 문자:
영숫자, 밑줄 및 하이픈

영숫자로 시작합니다.
위치 리소스 위치 string(필수)
parent_id 이 리소스의 부모인 리소스의 ID입니다. 유형의 리소스에 대한 ID: netAppAccounts
tags 리소스 태그 태그 이름 및 값의 사전입니다.
properties 스냅샷 정책 속성 SnapshotPolicyProperties (필수)

SnapshotPolicyProperties

Name Description
dailySchedule 일일 스냅샷 예약 DailySchedule
사용 정책을 결정할 속성이 활성화되어 있는지 여부 bool
hourlySchedule 시간별 스냅샷 예약 HourlySchedule
monthlySchedule 월별 스냅샷 예약 MonthlySchedule
weeklySchedule 주간 스냅샷 예약 WeeklySchedule

DailySchedule

Name Description
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 스냅샷 수행해야 하는 분을 나타냅니다. int
snapshotsToKeep 유지할 일일 스냅샷 개수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

HourlySchedule

Name Description
minute 스냅샷 수행해야 하는 분을 나타냅니다. int
snapshotsToKeep 유지할 시간별 스냅샷 개수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

MonthlySchedule

Name Description
daysOfMonth 스냅샷 수행해야 하는 월의 일을 나타냅니다. 쉼표로 구분된 문자열입니다. string
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 스냅샷 수행해야 하는 분을 나타냅니다. int
snapshotsToKeep 유지할 월별 스냅샷 수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int

WeeklySchedule

Name Description
스냅샷 수행해야 하는 평일을 나타내고, 쉼표로 구분된 요일 이름 목록을 영어로 허용합니다. string
hour 스냅샷 수행해야 하는 UTC 표준 시간대의 시간을 나타냅니다. int
minute 스냅샷 수행해야 하는 분을 나타냅니다. int
snapshotsToKeep 유지할 주간 스냅샷 개수 int
usedBytes 리소스 크기(바이트) , 볼륨의 현재 스토리지 사용량(바이트) int