Skip to content

Commit 70626b9

Browse files
SF updates for 8.1 (#15308)
* SF updates for 8.2 * fixed typo and added 8.1 * set the version to match. * fixed last typo. * fixed missing block. * remove Go SDK from auto-codegen * avoid hitting credscan alerts. Co-authored-by: Joel Hendrix <[email protected]>
1 parent 09b2582 commit 70626b9

File tree

152 files changed

+35424
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+35424
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"operationId": "BackupPartition",
3+
"description": "This example shows how to trigger backup of a partition now, which is already configured for periodic backups. The newly created backup will be saved at the same location where the periodic backups are being saved.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
7+
"BackupPartitionDescription": {}
8+
},
9+
"responses": {
10+
"202": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"operationId": "BackupPartition",
3+
"description": "This example shows how to trigger backup of a partition now, and save the backup to a specific Azure blob storage account.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
7+
"BackupPartitionDescription": {
8+
"BackupStorage": {
9+
"StorageKind": "AzureBlobStore",
10+
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<PutYourAccountKeyHere>",
11+
"ContainerName": "BackupContainer"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"202": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"operationId": "BackupPartition",
3+
"description": "This example shows how to trigger backup of a partition now, and save the backup to a specific file share accessible from all cluster nodes.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
7+
"BackupPartitionDescription": {
8+
"BackupStorage": {
9+
"StorageKind": "FileShare",
10+
"Path": "\\\\myshare\\backupshare",
11+
"PrimaryUserName": "mydomain\\backupaccount",
12+
"PrimaryPassword": "password"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"202": {}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"operationId": "BackupPartition",
3+
"description": "This example shows how to trigger backup of a partition now, and save the backup to a specific Dsms Azure blob storage location.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
7+
"BackupPartitionDescription": {
8+
"BackupStorage": {
9+
"StorageKind": "DsmsAzureBlobStore",
10+
"StorageCredentialsSourceLocation": "https://sample-dsms.dsms.core.winows.net/dsms/samplecredentiallocation/storageaccounts/samplestorageac/servicefabricbackup/samplebackup",
11+
"ContainerName": "BackupContainer"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"202": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"operationId": "BackupPartition",
3+
"description": "This example shows how to trigger backup of a partition now, and save the backup to a specific Azure blob storage account using managed identity.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"partitionId": "1daae3f5-7fd6-42e9-b1ba-8c05f873994d",
7+
"BackupPartitionDescription": {
8+
"BackupStorage": {
9+
"StorageKind": "ManagedIdentityAzureBlobStore",
10+
"BlobServiceUri": "https://managedidentitytest.blob.core.windows.net/",
11+
"ContainerName": "BackupContainer",
12+
"ManagedIdentityType": "Cluster"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"202": {}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"operationId": "CreateApplication",
3+
"description": "This example shows how to create a Service Fabric application without overriding any application parameter values.",
4+
"parameters": {
5+
"api-version": "6.0",
6+
"ApplicationDescription": {
7+
"Name": "fabric:/samples/CalcApp",
8+
"TypeVersion": "1.0",
9+
"TypeName": "CalculatorApp"
10+
}
11+
},
12+
"responses": {
13+
"201": {}
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"operationId": "CreateBackupPolicy",
3+
"description": "This example shows how to create a backup policy which takes backup twice everyday at 9 AM and 5 PM UTC which shall get deleted after 3 months, with Azure blob store as the backup location.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"BackupPolicyDescription": {
7+
"Name": "DailyAzureBackupPolicy",
8+
"AutoRestoreOnDataLoss": false,
9+
"MaxIncrementalBackups": 3,
10+
"Schedule": {
11+
"ScheduleKind": "TimeBased",
12+
"ScheduleFrequencyType": "Daily",
13+
"RunTimes": [
14+
"0001-01-01T09:00:00Z",
15+
"0001-01-01T17:00:00Z"
16+
]
17+
},
18+
"Storage": {
19+
"StorageKind": "AzureBlobStore",
20+
"FriendlyName": "Azure_storagesample",
21+
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<PutYourAccountKeyHere>",
22+
"ContainerName": "BackupContainer"
23+
},
24+
"RetentionPolicy": {
25+
"RetentionPolicyType": "Basic",
26+
"MinimumNumberOfBackups": 20,
27+
"RetentionDuration": "P3M"
28+
}
29+
}
30+
},
31+
"responses": {
32+
"201": {}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"operationId": "CreateBackupPolicy",
3+
"description": "This example shows how to create a backup policy which takes backup every 10 minutes which shall get deleted after 20 days, with file share as the backup location.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"BackupPolicyDescription": {
7+
"Name": "FileShare10MinBackupPolicy",
8+
"AutoRestoreOnDataLoss": false,
9+
"MaxIncrementalBackups": 3,
10+
"Schedule": {
11+
"ScheduleKind": "FrequencyBased",
12+
"Interval": "PT10M"
13+
},
14+
"Storage": {
15+
"StorageKind": "FileShare",
16+
"FriendlyName": "FileShare_myshare",
17+
"Path": "\\\\myshare\\backupshare",
18+
"PrimaryUserName": "backupaccount",
19+
"PrimaryPassword": "password"
20+
},
21+
"RetentionPolicy": {
22+
"RetentionPolicyType": "Basic",
23+
"MinimumNumberOfBackups": 20,
24+
"RetentionDuration": "P20D"
25+
}
26+
}
27+
},
28+
"responses": {
29+
"201": {}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"operationId": "CreateBackupPolicy",
3+
"description": "This example shows how to create a backup policy which takes backup twice everyday at 9 AM and 5 PM UTC which shall get deleted after 3 months, with Dsms Azure blob store as the backup location.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"BackupPolicyDescription": {
7+
"Name": "SampleDsmsBackupPolicy",
8+
"AutoRestoreOnDataLoss": false,
9+
"MaxIncrementalBackups": 3,
10+
"Schedule": {
11+
"ScheduleKind": "TimeBased",
12+
"ScheduleFrequencyType": "Daily",
13+
"RunTimes": [
14+
"0001-01-01T09:00:00Z",
15+
"0001-01-01T17:00:00Z"
16+
]
17+
},
18+
"Storage": {
19+
"StorageKind": "DsmsAzureBlobStore",
20+
"FriendlyName": "DsmsAzure_storagesample",
21+
"StorageCredentialsSourceLocation": "https://sample-dsms.dsms.core.winows.net/dsms/samplecredentiallocation/storageaccounts/samplestorageac/servicefabricbackup/samplebackup",
22+
"ContainerName": "BackupContainer"
23+
},
24+
"RetentionPolicy": {
25+
"RetentionPolicyType": "Basic",
26+
"MinimumNumberOfBackups": 20,
27+
"RetentionDuration": "P3M"
28+
}
29+
}
30+
},
31+
"responses": {
32+
"201": {}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"operationId": "CreateBackupPolicy",
3+
"description": "This example shows how to create a backup policy which takes backup twice everyday at 9 AM and 5 PM UTC which shall get deleted after 3 months, with Azure blob store as the backup location using managed identity.",
4+
"parameters": {
5+
"api-version": "6.4",
6+
"BackupPolicyDescription": {
7+
"Name": "DailyAzureMIBackupPolicy",
8+
"AutoRestoreOnDataLoss": false,
9+
"MaxIncrementalBackups": 3,
10+
"Schedule": {
11+
"ScheduleKind": "TimeBased",
12+
"ScheduleFrequencyType": "Daily",
13+
"RunTimes": [
14+
"0001-01-01T09:00:00Z",
15+
"0001-01-01T17:00:00Z"
16+
]
17+
},
18+
"Storage": {
19+
"StorageKind": "ManagedIdentityAzureBlobStore",
20+
"FriendlyName": "AzureMI_storagesample",
21+
"BlobServiceUri": "https://managedidentitytest.blob.core.windows.net/",
22+
"ContainerName": "BackupContainer",
23+
"ManagedIdentityType": "Cluster"
24+
},
25+
"RetentionPolicy": {
26+
"RetentionPolicyType": "Basic",
27+
"MinimumNumberOfBackups": 20,
28+
"RetentionDuration": "P3M"
29+
}
30+
}
31+
},
32+
"responses": {
33+
"201": {}
34+
}
35+
}

0 commit comments

Comments
 (0)