Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ model Disk is Azure.ResourceManager.TrackedResource<DiskProperties> {
Resource = Disk,
KeyName = "diskName",
SegmentName = "disks",
NamePattern = ""
NamePattern = "^[^_\\W][\\w-._]{0,79}(?<![-.])$"
>;

/**
Expand Down Expand Up @@ -131,7 +131,7 @@ interface Disks {

@@doc(
Disk.name,
"The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters."
"The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, underscore (_), hyphen (-), and dot (.). The maximum name length is 80 characters."
);
@@doc(Disk.properties, "Disk resource properties.");
@@doc(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ model DiskAccess
Resource = DiskAccess,
KeyName = "diskAccessName",
SegmentName = "diskAccesses",
NamePattern = ""
NamePattern = "^[^_\\W][\\w-._]{0,79}(?<![-.])$"
>;

/**
Expand Down Expand Up @@ -103,7 +103,7 @@ interface DiskAccesses {

@@doc(
DiskAccess.name,
"The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters."
"The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, underscore (_), hyphen (-), and dot (.). The maximum name length is 80 characters."
);
@@doc(DiskAccess.properties, "");
@@doc(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ model DiskEncryptionSet
Resource = DiskEncryptionSet,
KeyName = "diskEncryptionSetName",
SegmentName = "diskEncryptionSets",
NamePattern = ""
NamePattern = "^[^_\\W][\\w-._]{0,79}(?<![-.])$"
>;

/**
Expand Down Expand Up @@ -108,7 +108,7 @@ interface DiskEncryptionSets {

@@doc(
DiskEncryptionSet.name,
"The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters."
"The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, underscore (_), hyphen (-), and dot (.). The maximum name length is 80 characters."
);
@@doc(DiskEncryptionSet.properties, "");
@@doc(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ model DiskRestorePoint
Resource = DiskRestorePoint,
KeyName = "diskRestorePointName",
SegmentName = "diskRestorePoints",
NamePattern = ""
NamePattern = "^[^_\\W][\\w-._]{0,259}(?<![-.])$"
>;
}

Expand Down Expand Up @@ -54,7 +54,7 @@ interface DiskRestorePointsOps
DiskRestorePoint,
SegmentName = "diskRestorePoints",
KeyName = "diskRestorePointName",
NamePattern = ""
NamePattern = "^[^_\\W][\\w-._]{0,259}(?<![-.])$"
>,
}>,
CloudError
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ model Snapshot is Azure.ResourceManager.TrackedResource<SnapshotProperties> {
Resource = Snapshot,
KeyName = "snapshotName",
SegmentName = "snapshots",
NamePattern = ""
NamePattern = "^[^_\\W][\\w-._]{0,79}(?<![-.])$"
>;

/**
Expand Down Expand Up @@ -155,7 +155,7 @@ interface Snapshots {

@@doc(
Snapshot.name,
"The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters."
"The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, underscore (_), hyphen (-), and dot (.). The max name length is 80 characters."
);
@@doc(Snapshot.properties, "Snapshot resource properties.");
@@doc(
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading