### YamlMime:JavaType uid: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings" fullName: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings" name: "VirtualMachineExtension.DefinitionStages.WithSettings" nameWithType: "VirtualMachineExtension.DefinitionStages.WithSettings" summary: "The stage of the virtual machine extension definition allowing to specify the public and private settings." syntax: "public static interface **VirtualMachineExtension.DefinitionStages.WithSettings**" methods: - uid: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings.withProtectedSetting(java.lang.String,java.lang.Object)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings.withProtectedSetting(String key, Object value)" name: "withProtectedSetting(String key, Object value)" nameWithType: "VirtualMachineExtension.DefinitionStages.WithSettings.withProtectedSetting(String key, Object value)" summary: "Specifies a private settings entry." modifiers: - "abstract" parameters: - description: "the key of a private settings entry" name: "key" type: "String" - description: "the value of the private settings entry" name: "value" type: "Object" syntax: "public abstract VirtualMachineExtension.DefinitionStages.WithAttach withProtectedSetting(String key, Object value)" desc: "Specifies a private settings entry." returns: description: "the next stage of the definition" type: "<>" - uid: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings.withProtectedSettings(java.util.HashMap)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings.withProtectedSettings(HashMap settings)" name: "withProtectedSettings(HashMap settings)" nameWithType: "VirtualMachineExtension.DefinitionStages.WithSettings.withProtectedSettings(HashMap settings)" summary: "Specifies private settings." modifiers: - "abstract" parameters: - description: "the private settings" name: "settings" type: "HashMap<String,Object>" syntax: "public abstract VirtualMachineExtension.DefinitionStages.WithAttach withProtectedSettings(HashMap settings)" desc: "Specifies private settings." returns: description: "the next stage of the definition" type: "<>" - uid: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings.withPublicSetting(java.lang.String,java.lang.Object)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings.withPublicSetting(String key, Object value)" name: "withPublicSetting(String key, Object value)" nameWithType: "VirtualMachineExtension.DefinitionStages.WithSettings.withPublicSetting(String key, Object value)" summary: "Specifies a public settings entry." modifiers: - "abstract" parameters: - description: "the key of a public settings entry" name: "key" type: "String" - description: "the value of the public settings entry" name: "value" type: "Object" syntax: "public abstract VirtualMachineExtension.DefinitionStages.WithAttach withPublicSetting(String key, Object value)" desc: "Specifies a public settings entry." returns: description: "the next stage of the definition" type: "<>" - uid: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings.withPublicSettings(java.util.HashMap)" fullName: "com.azure.resourcemanager.compute.models.VirtualMachineExtension.DefinitionStages.WithSettings.withPublicSettings(HashMap settings)" name: "withPublicSettings(HashMap settings)" nameWithType: "VirtualMachineExtension.DefinitionStages.WithSettings.withPublicSettings(HashMap settings)" summary: "Specifies public settings." modifiers: - "abstract" parameters: - description: "the public settings" name: "settings" type: "HashMap<String,Object>" syntax: "public abstract VirtualMachineExtension.DefinitionStages.WithAttach withPublicSettings(HashMap settings)" desc: "Specifies public settings." returns: description: "the next stage of the definition" type: "<>" type: "interface" typeParameters: - description: "the stage of the parent definition to return to after attaching this definition" name: "ParentT" desc: "The stage of the virtual machine extension definition allowing to specify the public and private settings." metadata: {} package: "com.azure.resourcemanager.compute.models" artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0